End Device Support#
Callbacks for End Device Support Component.
Callbacks#
Poll is completed.
Parent connectivity is lost.
Pre network move.
Callbacks Documentation#
sl_zigbee_af_end_device_support_poll_completed_cb#
void sl_zigbee_af_end_device_support_poll_completed_cb (sl_status_t status)
Poll is completed.
N/A | status | Return status of a completed poll operation Ver.: always |
This function is called by the End Device Support plugin after a poll is completed.
98
of file app/framework/plugin/end-device-support/end-device-support.h
sl_zigbee_af_end_device_support_lost_parent_connectivity_cb#
bool sl_zigbee_af_end_device_support_lost_parent_connectivity_cb (void )
Parent connectivity is lost.
N/A |
This function is called by the End Device Support plugin when the end device can't connect to its parent. This callback is called under the following conditions:
When the network state of the device is SL_ZIGBEE_JOINED_NETWORK_NO_PARENT.
If there are 3 or more data poll transaction failures for an end device.
If this callback returns false, the End Device Support plugin code will proceed with issuing a Trust Center rejoin. Otherwise, if this function returns true, the End Device Support plugin will not issue a Trust Center rejoin.
113
of file app/framework/plugin/end-device-support/end-device-support.h
sl_zigbee_af_end_device_support_pre_network_move_cb#
bool sl_zigbee_af_end_device_support_pre_network_move_cb (void )
Pre network move.
N/A |
This function is called by the End Device Support plugin just before it issues a network move, or a sequence of a secure rejoin followed by several trust center rejoins. Various plugins issue a network move when certain conditions are met, such as when the network state is EMBER_JOINED_NO_PARENT.
Users can consume this callback and return true to prevent the End Device Support plugin from issuing rejoin requests. Consuming the callback also gives the application a chance to implement its own rejoin logic. If this callback returns false, the End Device Support plugin will issue network rejoins as usual.
128
of file app/framework/plugin/end-device-support/end-device-support.h