9.10.1.7 +MQTTDISCONN

This is used to disconnect from a broker.

Security – Default Security for the command is: GGGG

Table 9-73. Command Syntax

Command

Description

Security

AT+MQTTDISCONN

Disconnect

GGGG

AT+MQTTDISCONN=<REASON_CODE>

Disconnect with a reason

GGGG

Table 9-74. Command Parameter Syntax

Parameter Name

Type

Description

<REASON_CODE>

Integer

Reason Code