Messaging Client#
Callbacks for Messaging Client Component.
Callbacks#
Pre Display Message.
Display a message.
Cancel a message.
Callbacks Documentation#
sl_zigbee_af_messaging_client_pre_display_message_cb#
bool sl_zigbee_af_messaging_client_pre_display_message_cb (uint32_t messageId, uint8_t messageControl, uint32_t startTime, uint16_t durationInMinutes, uint8_t * message, uint8_t optionalExtendedMessageControl)
Pre Display Message.
N/A | messageId | Ver.: always |
N/A | messageControl | Ver.: always |
N/A | startTime | Ver.: always |
N/A | durationInMinutes | Ver.: always |
N/A | message | Ver.: always |
N/A | optionalExtendedMessageControl | Ver.: always |
This function is called by the Messaging client plugin when a DisplayMessage command is received. If callback returns true, the plugin assumes the message have been handled and will not do anything with the message. Otherwise, the plugin will go through with its own implementation.
115
of file app/framework/plugin/messaging-client/messaging-client.h
sl_zigbee_af_messaging_client_display_message_cb#
void sl_zigbee_af_messaging_client_display_message_cb (sl_zigbee_af_plugin_messaging_client_message_t * message)
Display a message.
N/A | message | The message that should be displayed. Ver.: always |
This function is called by the messaging client plugin whenever the application should display a message.
128
of file app/framework/plugin/messaging-client/messaging-client.h
sl_zigbee_af_messaging_client_cancel_message_cb#
void sl_zigbee_af_messaging_client_cancel_message_cb (sl_zigbee_af_plugin_messaging_client_message_t * message)
Cancel a message.
N/A | message | The message that should no longer be displayed. Ver.: always |
This function is called by the messaging client plugin whenever the application should stop displaying a message.
136
of file app/framework/plugin/messaging-client/messaging-client.h