MQTT_MESSAGE
(STRUCT)
TYPE MQTT_MESSAGE : STRUCT
structure to hold a single message to or from the MQTT broker
- InOut:
Name
Type
Initial
Comment
sTopic
STRING(Constants.MQTT_MAX_TOPIC_LEN)
‘’
Topic where this message belongs to.
pbyPayload
POINTER TO BYTE
0
Payload which should be sent.
dwLen
DWORD
0
Length of the payload.
eQos
MQTT_QOS.QOS_0
Quality of Service level.
xRetainFlag
BOOL
FALSE
True = Message must be stored by the server, False = Server must not store this message.