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
TypeDirectionArgument NameDescription
const EmberNetworkParameters *N/Anetwork

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

boolN/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.


emberAfPluginNetworkCreatorGetPanIdCallback#

EmberPanId emberAfPluginNetworkCreatorGetPanIdCallback (void )

Get PAN ID.

Parameters
TypeDirectionArgument NameDescription
voidN/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.

Parameters
TypeDirectionArgument NameDescription
voidN/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.