MQTT Client Message structure.

Public Attributes#

Quality of subscription.

uint16_t

Packed id of the received message.

bool

Retained flag of message as sent by the broker.

bool

Whether this is a duplicate message.

uint8_t *

Pointer to topic name.

uint16_t

Length of the topic.

uint8_t *

Pointer to content.

uint32_t

Length of the content.

Public Attribute Documentation#

qos_level#

sl_mqtt_qos_t sl_mqtt_client_message_t::qos_level

Quality of subscription.


pakcet_identifer#

uint16_t sl_mqtt_client_message_t::pakcet_identifer

Packed id of the received message.


is_retained#

bool sl_mqtt_client_message_t::is_retained

Retained flag of message as sent by the broker.


is_duplicate_message#

bool sl_mqtt_client_message_t::is_duplicate_message

Whether this is a duplicate message.


topic#

uint8_t* sl_mqtt_client_message_t::topic

Pointer to topic name.


topic_length#

uint16_t sl_mqtt_client_message_t::topic_length

Length of the topic.


content#

uint8_t* sl_mqtt_client_message_t::content

Pointer to content.


content_length#

uint32_t sl_mqtt_client_message_t::content_length

Length of the content.