MQTTAuthProperties (STRUCT)ΒΆ

TYPE MQTTAuthProperties : STRUCT

Auth properties (MQTT V5) MQTTAuthProperties can be send to the server via the method MQTTClient.SendAuth(). The content of pbAuthenticationData depends on the authentication method.

InOut:

Name

Type

Comment

wsAuthenticationMethod

WSTRING

Name of the authentication method

pbAuthenticationData

POINTER TO BYTE

Binary Data containing authentication data

udiAuthenticationDataSize

UDINT

Size of pbAuthenticationData

userProperties

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

User defined properties