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#
packet_identifier#
uint16_t sl_mqtt_client_message_t::packet_identifier
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_length#
uint16_t sl_mqtt_client_message_t::topic_length
Length of the topic. Length should not exceed 202 bytes including NULL termination character.