Network Creator#

Callbacks for Network Creator Component.

Callbacks#

void
emberAfPluginNetworkCreatorCompleteCallback(const EmberNetworkParameters *network, bool usedSecondaryChannels)

Complete the network creation process.

int8_t

Get power for the radio channel.

Callbacks Documentation#

emberAfPluginNetworkCreatorCompleteCallback#

void emberAfPluginNetworkCreatorCompleteCallback (const EmberNetworkParameters * network, bool usedSecondaryChannels)

Complete the network creation process.

Parameters
N/Anetwork

The network that the network creator plugin successfully formed. Ver.: always

N/AusedSecondaryChannels

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.


Definition at line 127 of file app/framework/plugin/network-creator/network-creator.h

emberAfPluginNetworkCreatorGetPanIdCallback#

EmberPanId emberAfPluginNetworkCreatorGetPanIdCallback (void )

Get PAN ID.

Parameters
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.


Definition at line 137 of file app/framework/plugin/network-creator/network-creator.h

emberAfPluginNetworkCreatorGetRadioPowerCallback#

int8_t emberAfPluginNetworkCreatorGetRadioPowerCallback (void )

Get power for the radio channel.

Parameters
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.


Definition at line 146 of file app/framework/plugin/network-creator/network-creator.h