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. Length should not exceed 202 bytes including NULL termination character.

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.


Definition at line 110 of file components/service/mqtt/inc/sl_mqtt_client_types.h

pakcet_identifer#

uint16_t sl_mqtt_client_message_t::pakcet_identifer

Packed id of the received message.


Definition at line 111 of file components/service/mqtt/inc/sl_mqtt_client_types.h

is_retained#

bool sl_mqtt_client_message_t::is_retained

Retained flag of message as sent by the broker.


Definition at line 112 of file components/service/mqtt/inc/sl_mqtt_client_types.h

is_duplicate_message#

bool sl_mqtt_client_message_t::is_duplicate_message

Whether this is a duplicate message.


Definition at line 113 of file components/service/mqtt/inc/sl_mqtt_client_types.h

topic#

uint8_t* sl_mqtt_client_message_t::topic

Pointer to topic name.


Definition at line 114 of file components/service/mqtt/inc/sl_mqtt_client_types.h

topic_length#

uint16_t sl_mqtt_client_message_t::topic_length

Length of the topic. Length should not exceed 202 bytes including NULL termination character.


Definition at line 116 of file components/service/mqtt/inc/sl_mqtt_client_types.h

content#

uint8_t* sl_mqtt_client_message_t::content

Pointer to content.


Definition at line 117 of file components/service/mqtt/inc/sl_mqtt_client_types.h

content_length#

uint32_t sl_mqtt_client_message_t::content_length

Length of the content.


Definition at line 118 of file components/service/mqtt/inc/sl_mqtt_client_types.h