End Device Support#

Callbacks for End Device Support Component.

Callbacks#

void

Poll is completed.

Callbacks Documentation#

emberAfPluginEndDeviceSupportPollCompletedCallback#

void emberAfPluginEndDeviceSupportPollCompletedCallback (EmberStatus status)

Poll is completed.

Parameters
N/Astatus

Return status of a completed poll operation Ver.: always

This function is called by the End Device Support plugin after a poll is completed.


Definition at line 98 of file app/framework/plugin/end-device-support/end-device-support.h

emberAfPluginEndDeviceSupportLostParentConnectivityCallback#

bool emberAfPluginEndDeviceSupportLostParentConnectivityCallback (void )

Parent connectivity is lost.

Parameters
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 EMBER_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.


Definition at line 113 of file app/framework/plugin/end-device-support/end-device-support.h

emberAfPluginEndDeviceSupportPreNetworkMoveCallback#

bool emberAfPluginEndDeviceSupportPreNetworkMoveCallback (void )

Pre network move.

Parameters
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.


Definition at line 128 of file app/framework/plugin/end-device-support/end-device-support.h