Plugin Commands: Network Creator
Detailed Description
Commands pertaining to network creation with the Network Creator plugin.
Macro Definition Documentation
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_NETWORK_CREATOR_PLUGIN_NETWORK_CREATOR_FORM |
plugin network-creator form [useCentralizedSecurity:1] [panId:2] [radioTxPower:1] [channel:1]
-
Form a network with specified parameters.
- useCentralizedSecurity - BOOLEAN - Whether or not to form a centralized network. If this value is false, the device will attempt to join a distributed network.
- panId - INT16U - PanID of the network to be formed
- radioTxPower - INT8S - Tx power of the network to be formed
- channel - INT8U - channel of the network to be formed
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_NETWORK_CREATOR_PLUGIN_NETWORK_CREATOR_MASK_ADD |
plugin network-creator mask add [mask:1] [channel:4]
-
Add a channel to the channel mask of choice.
- mask - INT8U - The mask of choice to which to add the channel. Entering an argument of '1' will choose the primary channel mask. Any other argument will choose the secondary channel mask.
- channel - INT32U - The channel to add to the channel mask.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_NETWORK_CREATOR_PLUGIN_NETWORK_CREATOR_MASK_SET |
plugin network-creator mask set [mask:1] [newChannelMask:4]
-
Set a channel mask.
- mask - INT8U - The mask of choice to set. Entering an argument of '1' will choose the primary channel mask. Any other argument will choose the secondary channel mask.
- newChannelMask - INT32U - The bit mask to which to set the chosen channel mask.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_NETWORK_CREATOR_PLUGIN_NETWORK_CREATOR_MASK_SUBTRACT |
plugin network-creator mask subtract [mask:1] [channel:4]
-
Subtract a channel from the channel mask of choice.
- mask - INT8U - The mask of choice from which to subtract the channel. Entering an argument of '1' will choose the primary channel mask. Any other argument will choose the secondary channel mask.
- channel - INT32U - The channel to subtract from the channel mask.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_NETWORK_CREATOR_PLUGIN_NETWORK_CREATOR_START |
plugin network-creator start [useCentralizedSecurity:1]
-
Starts the network formation process.
- useCentralizedSecurity - BOOLEAN - Whether or not to form a centralized network. If this value is false, the device will attempt to join a distributed network.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_NETWORK_CREATOR_PLUGIN_NETWORK_CREATOR_STATUS |
plugin network-creator status
- Print the status of the network-creator plugin.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_NETWORK_CREATOR_PLUGIN_NETWORK_CREATOR_STOP |
plugin network-creator stop
- Stops the network formation process.