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)

Complete the network creation process.

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)

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 131 of file app/framework/plugin/network-creator/network-creator.h

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
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 141 of file app/framework/plugin/network-creator/network-creator.h

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
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 150 of file app/framework/plugin/network-creator/network-creator.h