Utility Commands: Multiple RAIL Demo Code#
Provides examples of using a second RAIL instance to send packets.
Macros#
#define
plugin multirail get-handle
#define
plugin multirail init [power:2]
#define
plugin multirail send [channel:1] [data:-1]
Macro Definition Documentation#
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MULTIRAIL_PLUGIN_MULTIRAIL_GET_HANDLE#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MULTIRAIL_PLUGIN_MULTIRAIL_GET_HANDLE
plugin multirail get-handle
Print the secods RAIL handle.
Definition at line
8051
of file ./app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MULTIRAIL_PLUGIN_MULTIRAIL_INIT#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MULTIRAIL_PLUGIN_MULTIRAIL_INIT
plugin multirail init [power:2]
Initialize the second RAIL instance.
power - INT16S - Default TX power in deci-dBm (eg. -50 = -5dBm, 120 = -12 dBm)
Definition at line
8057
of file ./app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MULTIRAIL_PLUGIN_MULTIRAIL_SEND#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MULTIRAIL_PLUGIN_MULTIRAIL_SEND
plugin multirail send [channel:1] [data:-1]
Send a packet using the second RAIL instance.
channel - INT8U - Channel (11-26, or 0 to use the current Zigbee channel)
data - OCTET_STRING - Packet data (empty string will send a default GPD packet)
Definition at line
8064
of file ./app/framework/test/headers/cli.doc