Network Find#
Callbacks for Network Find Component.
Callbacks#
Finish forming or joining process.
Get radio power for a channel.
Join a network.
Get the energy threshold for a channel.
Get enable scanning all channels.
Callbacks Documentation#
sl_zigbee_af_network_find_finished_cb#
void sl_zigbee_af_network_find_finished_cb (sl_status_t status)
Finish forming or joining process.
N/A | status | Ver.: always |
This callback is fired when the network-find plugin is finished with the forming or joining process. The result of the operation will be returned in the status parameter.
122
of file app/framework/plugin/network-find/network-find.h
sl_zigbee_af_network_find_get_radio_power_for_channel_cb#
int8_t sl_zigbee_af_network_find_get_radio_power_for_channel_cb (uint8_t pgChan)
Get radio power for a channel.
N/A | pgChan | Ver.: always |
This callback is called by the framework when it is setting the radio power during the discovery process. The framework will set the radio power depending on what is returned by this callback.
132
of file app/framework/plugin/network-find/network-find.h
sl_zigbee_af_network_find_join_cb#
bool sl_zigbee_af_network_find_join_cb (sl_zigbee_zigbee_network_t * networkFound, uint8_t lqi, int8_t rssi)
Join a network.
N/A | networkFound | Ver.: always |
N/A | lqi | Ver.: always |
N/A | rssi | Ver.: always |
This callback is called by the plugin when a joinable network has been found. If the application returns true, the plugin will attempt to join the network. Otherwise, the plugin will ignore the network and continue searching. Applications can use this callback to implement a network blacklist.
146
of file app/framework/plugin/network-find/network-find.h
sl_zigbee_af_network_find_get_energy_threshold_for_channel_cb#
int8_t sl_zigbee_af_network_find_get_energy_threshold_for_channel_cb (uint8_t pgChan)
Get the energy threshold for a channel.
N/A | pgChan | Ver.: always |
This callback is called during the energy scan when forming the network. Should the energy level exceed the value returned by this callback, the current channel will not be considered a suitable candidate for forming. Should none of the channels in the channel mask be considered suitable, the scan will fall back on all channels, including those not on the channel mask. The return value is RSSI, in dBm. This callback is called only when the fallback functionality is enabled.
162
of file app/framework/plugin/network-find/network-find.h
sl_zigbee_af_network_find_get_enable_scanning_all_channels_cb#
bool sl_zigbee_af_network_find_get_enable_scanning_all_channels_cb (void )
Get enable scanning all channels.
N/A |
Returns true is the fallback on scanning all channels is enabled, false if not.
169
of file app/framework/plugin/network-find/network-find.h