Interpan#

Callbacks for Interpan Component.

Callbacks#

bool
sl_zigbee_af_interpan_pre_message_received_cb(const sl_zigbee_af_interpan_header_t *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
sl_zigbee_af_interpan_message_received_over_fragments_cb(const sl_zigbee_af_interpan_header_t *header, uint8_t msgLen, uint8_t *message)

Message received over fragments.

void
sl_zigbee_af_interpan_fragment_transmission_failed_cb(uint8_t interpanFragmentationStatus, uint8_t fragmentNum)

Fragment transmission failed.

Callbacks Documentation#

sl_zigbee_af_interpan_pre_message_received_cb#

bool sl_zigbee_af_interpan_pre_message_received_cb (const sl_zigbee_af_interpan_header_t * 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

sl_zigbee_af_interpan_message_received_over_fragments_cb#

void sl_zigbee_af_interpan_message_received_over_fragments_cb (const sl_zigbee_af_interpan_header_t * 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

sl_zigbee_af_interpan_fragment_transmission_failed_cb#

void sl_zigbee_af_interpan_fragment_transmission_failed_cb (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