Relay Control Client#

API and Callbacks for the Relay Control Cluster Client Component.

This component handles responses to relay state queries.

API#

void
emberAfPluginRelayControlClientSendSetRelayState(EmberNodeId nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, bool isEnabled, uint32_t magicNumber)

Convenience API to send a set message to the server.

API Documentation#

emberAfPluginRelayControlClientSendSetRelayState#

void emberAfPluginRelayControlClientSendSetRelayState (EmberNodeId nodeId, uint8_t srcEndpoint, uint8_t dstEndpoint, bool isEnabled, uint32_t magicNumber)

Convenience API to send a set message to the server.

Parameters
TypeDirectionArgument NameDescription
EmberNodeIdN/AnodeId

node ID Ver.: always

uint8_tN/AsrcEndpoint

Ver.: always

uint8_tN/AdstEndpoint

Ver.: always

boolN/AisEnabled

Ver.: always

uint32_tN/AmagicNumber

Ver.:Always