nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ qos_evt_type

#include <include/qos.h>

Events notified by the library's callback handler.

Enumerator
QOS_EVT_MESSAGE_NEW 

A new message is ready. Payload is of type qos_data. (message)

QOS_EVT_MESSAGE_TIMER_EXPIRED 

The internal backoff timer has expired. This callback contains one or more messages that should be sent. Payload is of type qos_data. (message)

Callbacks of this event type are notified in system workqueue context.

QOS_EVT_MESSAGE_REMOVED_FROM_LIST 

Event received when the internal list of pending messages is full or a message has been removed from the list using the qos_message_remove() API call.

If the heap_allocated flag is set in the qos_data message structure the corresponding buffer (message.data.buf) must be freed by the caller. Payload is of type qos_data.