MQTTClient.SendAuthPacket (METH)ΒΆ

METHOD SendAuthPacket : BOOL

Method to send AUTH packets to the server (MQTT V5 only). This method can be called to send an AUTH response to the server if a AUTH packet has been received. see MQTTClient.mQTTConnackProperties.xAuthPacketReceived

InOut:

Scope

Name

Type

Comment

Return

SendAuthPacket

BOOL

Input

xSendAuthPacket

BOOL

A rising egde will send the AUTH packet

eReasonCode

MQTT_REASON_CODE

The reason code to send.

Inout

mQTTAuthProperties

MQTTAuthProperties

AUTH properties

Output

eError

MQTT_ERROR