MQTTSNQosMsg Struct ReferenceMQTT-SN Client

Table of contents Table of contents

Detailed Description

Structure describing the MQTTSN QOS(1-2) message.

Data Fields

MQTTSNPacketQoS qos
 QoS level of the last PUBLISH message.
 
uint16_t messageId
 Id of the last sent PUBLISH message.
 
uint16_t topicId
 topic Id of topic of the last sent PUBLISH message
 
char lastMsg [MQTTSN_MAX_MESSAGE_DATA]
 Last sent PUBLISH message.
 
int lastMsgLen
 Last sent PUBLISH message data length.
 
uint8_t retransmissionCount
 Retransmissions count.
 

Field Documentation

◆ qos

MQTTSNPacketQoS MQTTSNQosMsg::qos

QoS level of the last PUBLISH message.

◆ messageId

uint16_t MQTTSNQosMsg::messageId

Id of the last sent PUBLISH message.

◆ topicId

uint16_t MQTTSNQosMsg::topicId

topic Id of topic of the last sent PUBLISH message

◆ lastMsg

char MQTTSNQosMsg::lastMsg[MQTTSN_MAX_MESSAGE_DATA]

Last sent PUBLISH message.

◆ lastMsgLen

int MQTTSNQosMsg::lastMsgLen

Last sent PUBLISH message data length.

◆ retransmissionCount

uint8_t MQTTSNQosMsg::retransmissionCount

Retransmissions count.


The documentation for this struct was generated from the following file:

Contact us

Any question or remarks? Just write us a message!

Contact Information

Feel free to get in touch