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.
Definition at line
74
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
75
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
76
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
77
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
78
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.
Definition at line
79
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
80
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
81
of file components/service/mqtt/inc/sl_mqtt_client_types.h