In this section, what do the following parameters mean?
dup
retain
len
index
total
1 Answers
Hi Jack.
Those are MQTT properties.
- dup: indicates if this is a duplicated packet
- retain: if true, the server should retain this packet and publish it automatically to anyone that subscribes
- len: message length
- index: index of the message (0, 1, 2, 3 and so on)
- total: I think it is the size of the packet.
Regards,
Sara