MQTTConnectProperties (STRUCT)ΒΆ

TYPE MQTTConnectProperties : STRUCT

Connect properties (MQTT V5)

InOut:

Name

Type

Comment

udiSessionExpiryInterval

UDINT

Session Expiry Interval: Time in seconds a session retains after a disconnect.

wsAuthenticationMethod

WSTRING

Name of the authentication method

pbAuthenticationData

POINTER TO BYTE

Binary Data containing authentication data

udiAuthenticationDataSize

UDINT

Size of pbAuthenticationData

bRequestProblemInformation

BYTE

The Client uses this value to indicate whether the Reason String or User Properties are sent in the case of failures.

bRequestResponseInformation

BYTE

This value can be used to request the Server to return Response Information.

uiReceiveMaximum

UINT

The Client uses this value to limit the number of QoS 1 and QoS 2 publications that it is willing to process concurrently. There is no mechanism to limit the QoS 0 publications that the Server might try to send.

uiTopicAliasMaximum

UINT

This value indicates the highest value that the Server will accept as a Topic Alias sent by the Client.

udiMaximumPacketSize

UDINT

The Client uses the Maximum Packet Size to inform the Server that it will not process packets exceeding this limit.

userProperties

ARRAY [0..(MQTTParam.g_udiMaxUserProperties - 1)] OF MQTTStringPair

User defined properties