Network Creator#
Callbacks for Network Creator Component.
Callbacks#
Complete the network creation process.
Get PAN ID.
Get power for the radio channel.
Callbacks Documentation#
emberAfPluginNetworkCreatorCompleteCallback#
void emberAfPluginNetworkCreatorCompleteCallback (const EmberNetworkParameters * network, bool usedSecondaryChannels)
Complete the network creation process.
Type | Direction | Argument Name | Description |
---|---|---|---|
const EmberNetworkParameters * | N/A | network | The network that the network creator plugin successfully formed. Ver.: always |
bool | N/A | usedSecondaryChannels | Whether or not the network creator wants to form a network on the secondary channels. Ver.: always |
This callback notifies the user that the network creation process has completed successfully.
emberAfPluginNetworkCreatorGetPanIdCallback#
EmberPanId emberAfPluginNetworkCreatorGetPanIdCallback (void )
Get PAN ID.
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
This callback is called when the Network Creator plugin needs the PAN ID for the network it is about to create. By default, the callback returns a random 16-bit value.
emberAfPluginNetworkCreatorGetRadioPowerCallback#
int8_t emberAfPluginNetworkCreatorGetRadioPowerCallback (void )
Get power for the radio channel.
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
This callback is called when the Network Creator plugin needs the radio power for the network it is about to create. By default, the callback uses the radio power specified in the relevant plugin option.