Utility Commands: Multiple RAIL Demo Code#

Provides examples of using a second RAIL instance to send packets.

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 8024 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/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 8030 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/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 8037 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc