Interpan#

Callbacks for Interpan Component.

Callbacks#

bool
emberAfPluginInterpanPreMessageReceivedCallback(const EmberAfInterpanHeader *header, uint8_t msgLen, uint8_t *message)

Called by the Interpan plugin when an interpan message is received but has not yet been handled by the plugin or the framework.

void
emberAfPluginInterpanMessageReceivedOverFragmentsCallback(const EmberAfInterpanHeader *header, uint8_t msgLen, uint8_t *message)

Message received over fragments.

void
emberAfPluginInterpanFragmentTransmissionFailedCallback(uint8_t interpanFragmentationStatus, uint8_t fragmentNum)

Fragment transmission failed.

Callbacks Documentation#

emberAfPluginInterpanPreMessageReceivedCallback#

bool emberAfPluginInterpanPreMessageReceivedCallback (const EmberAfInterpanHeader * header, uint8_t msgLen, uint8_t * message)

Called by the Interpan plugin when an interpan message is received but has not yet been handled by the plugin or the framework.

Parameters
N/Aheader

The inter-PAN header Ver.: always

N/AmsgLen

The message payload length Ver.: always

N/Amessage

The message payload Ver.: always

The application should return true if the message was handled.


Definition at line 272 of file app/framework/plugin/interpan/interpan.h

emberAfPluginInterpanMessageReceivedOverFragmentsCallback#

void emberAfPluginInterpanMessageReceivedOverFragmentsCallback (const EmberAfInterpanHeader * header, uint8_t msgLen, uint8_t * message)

Message received over fragments.

Parameters
N/Aheader

The inter-PAN header Ver.: always

N/AmsgLen

The message payload length Ver.: always

N/Amessage

The message payload Ver.: always

This function is called by the Interpan plugin when a fully reconstructed message has been received over inter-PAN fragments, or IPMFs.


Definition at line 285 of file app/framework/plugin/interpan/interpan.h

emberAfPluginInterpanFragmentTransmissionFailedCallback#

void emberAfPluginInterpanFragmentTransmissionFailedCallback (uint8_t interpanFragmentationStatus, uint8_t fragmentNum)

Fragment transmission failed.

Parameters
N/AinterpanFragmentationStatus

The status describing why transmission failed Ver.: always

N/AfragmentNum

The fragment number that encountered the failure Ver.: always

This function is called by the Interpan plugin when a fragmented transmission has failed.


Definition at line 299 of file app/framework/plugin/interpan/interpan.h