Network Creator#

Callbacks for Network Creator Component.

Callbacks#

void
sl_zigbee_af_network_creator_complete_cb(const sl_zigbee_network_parameters_t *network, bool usedSecondaryChannels)

The network creation process has been completed successfully.

sl_802154_pan_id_t
int8_t

Get power for the radio channel.

Callbacks Documentation#

sl_zigbee_af_network_creator_complete_cb#

void sl_zigbee_af_network_creator_complete_cb (const sl_zigbee_network_parameters_t * network, bool usedSecondaryChannels)

The network creation process has been completed successfully.

Parameters
TypeDirectionArgument NameDescription
const sl_zigbee_network_parameters_t *[out]network

The network that the network creator plugin successfully formed. sl_zigbee_network_parameters_t includes panId, radioTxPower, and radioChannel. Ver.: always

bool[out]usedSecondaryChannels

Whether or not the network created used secondary channels

This callback notifies the user that the network creation process has completed successfully.


sl_zigbee_af_network_creator_get_pan_id_cb#

sl_802154_pan_id_t sl_zigbee_af_network_creator_get_pan_id_cb (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.


sl_zigbee_af_network_creator_get_radio_power_cb#

int8_t sl_zigbee_af_network_creator_get_radio_power_cb (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.