MQTTSubscribeProperties (STRUCT)ΒΆ
TYPE MQTTSubscribeProperties : STRUCT
Subscribe properties (MQTT V5)
- InOut:
Name
Type
Comment
udiSubscriptionIdentifierUDINTThe subscription identifier will be returned on the message when it is delivered. This allows the Client to determine which subscription or subscriptions caused the message to be delivered. Setting the identifier accelerates the filtering of the telegrams in the subscriber function block.
udiCorrelationDataSizeUDINTSize of the correlation data receive buffer |paCorrelationData|
paCorrelationDataPOINTER TO BYTE
Pointer to correlation data reveive 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.
userPropertiesARRAY [0..(MQTTParam.g_udiMaxUserProperties - 1)] OF MQTTStringPair
User defined properties
xNoLocalOptionBOOLNo Local option If the value is TRUE, Application Messages MUST NOT be forwarded to a connection with a ClientID equal to the ClientID of the publishing connection
xRetainAsPublishedBOOLRetain As Published option If TRUE, Application Messages forwarded using this subscription keep the RETAIN flag they were published with.
eRetainHandlingThis option specifies whether retained messages are sent when the subscription is established.