9.10.1.9 +MQTTDISCONN

This is used to disconnect from a broker.

Security – Default Security for the command is: GGGG

Table 9-85. Command Syntax

Command

Description

Security

AT+MQTTDISCONN

Disconnect

GGGG

AT+MQTTDISCONN=<REASON_CODE>

Disconnect with a reason

GGGG

Table 9-86. Command Parameter Syntax

Parameter Name

Type

Description

<REASON_CODE>

Integer

Reason Code