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
| Type | Direction | Argument Name | Description |
|---|---|---|---|
| EmberNodeId | N/A | nodeId | node ID Ver.: always |
| uint8_t | N/A | srcEndpoint | Ver.: always |
| uint8_t | N/A | dstEndpoint | Ver.: always |
| bool | N/A | isEnabled | Ver.: always |
| uint32_t | N/A | magicNumber | Ver.:Always |