MQTTWillProperties (STRUCT)¶
TYPE MQTTWillProperties : STRUCT
Will properties (MQTT V5)
- InOut:
Name
Type
Comment
bPayloadFormatIndicatorBYTEPayload Format: 0: Binary Data, 1: UTF-8
udiMessageExpiryIntervalUDINTExpiry interval of the message in seconds
wsContentTypeWSTRINGMIME style content type of the payload
wsResponseTopicWSTRINGSome applications or standards might wish to run a Request/Response interaction over MQTT. The Resopnse Topic can be used for this purpose.
udiCorrelationDataSizeUDINTSize of the correlation data buffer |paCorrelationData|
paCorrelationDataPOINTER TO BYTE
Pointer to correlation data buffer. The Correlation Data is used by the sender of the Request Message to identify which request the Response Message is for when it is received.
udiWillDelayIntervalUDINTThe Server delays publishing the Client’s Will Message until the Will Delay Interval (in seconds) has passed or the Session ends, whichever happens first.
userPropertiesARRAY [0..(MQTTParam.g_udiMaxUserProperties - 1)] OF MQTTStringPair
User defined properties