ST_IotMqtt5Auth

Authentication settings for the MQTT client (V5).

Syntax

Definition:

TYPE ST_IotMqtt5Auth :
STRUCT
    {attribute 'TcEncoding':='UTF-8'}
    sAuthMethod        : STRING(255);
    aAuthData          : ARRAY[0..4095] OF BYTE;
    nAuthDataSize      : UINT;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

sAuthMethod

STRING(255)

UTF-8 encoded name of an extended authentication method.

aAuthData

ARRAY[0..4095] OF BYTE

This array contains binary authentication data.

nAuthDataSize

UINT

Specifies the length of the authentication data.