MQTT_MESSAGE (STRUCT)
TYPE MQTT_MESSAGE : STRUCT
structure to hold a single message to or from the MQTT broker
- InOut:
Name
Type
Initial
Comment
sTopicSTRING(Constants.MQTT_MAX_TOPIC_LEN)‘’
Topic where this message belongs to.
pbyPayloadPOINTER TO BYTE
0
Payload which should be sent.
dwLenDWORD0
Length of the payload.
eQosMQTT_QOS.QOS_0
Quality of Service level.
xRetainFlagBOOLFALSE
True = Message must be stored by the server, False = Server must not store this message.