Plugin Commands: Relay Control Server#

The relay control plugin provides the functionality to enable or disable the stack's relay capabilities, and also to view the relay state.

Macros#

#define

plugin relay-control-server get [nodeId:2] [srcEndpoint:1] [dstEndpoint:1]

#define

plugin relay-control-server set [nodeId:2] [srcEndpoint:1] [dstEndpoint:1] [isEnabled:1]

Macro Definition Documentation#

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_RELAY_CONTROL_SERVER_PLUGIN_RELAY_CONTROL_SERVER_GET#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_RELAY_CONTROL_SERVER_PLUGIN_RELAY_CONTROL_SERVER_GET

plugin relay-control-server get [nodeId:2] [srcEndpoint:1] [dstEndpoint:1]

  • Get the relay state

    • nodeId - INT16U - the destination node id

    • srcEndpoint - INT8U - the source endpoint

    • dstEndpoint - INT8U - the destination endpoint


Definition at line 5916 of file ./app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_RELAY_CONTROL_SERVER_PLUGIN_RELAY_CONTROL_SERVER_SET#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_RELAY_CONTROL_SERVER_PLUGIN_RELAY_CONTROL_SERVER_SET

plugin relay-control-server set [nodeId:2] [srcEndpoint:1] [dstEndpoint:1] [isEnabled:1]

  • Set the relay state

    • nodeId - INT16U - the destination node id

    • srcEndpoint - INT8U - the source endpoint

    • dstEndpoint - INT8U - the destination endpoint

    • isEnabled - INT8U - state value to be set


Definition at line 5925 of file ./app/framework/test/headers/cli.doc