OnMqtt5ConnAck
Callback method
This method must not be called by the user. Instead, the function block FB_IotMqtt5ClientBase can be used to derive information and overwrite this method. During the call of the Execute() method the responsible TwinCAT driver has the possibility to receive a notification via this callback, if the message broker has sent a CONNACK as response to a Connect.
Syntax
METHOD OnMqtt5Disconnected : HRESULT
VAR_INPUT
pProps : POINTER TO MqttConnAckProperties;
END_VAR
Return value
Name | Type | Description |
---|---|---|
OnMqtt5ConnAck | HRESULT |
|
Inputs
Name | Type | Description |
---|---|---|
pProps | POINTER TO MqttConnAckProperties | MQTT properties received in case of CONNACK. |