LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14 Page 1799 of 1904 2022-03-04
3.32.11. AT#MQDISC - Log Out and Disconnect from the MQTT Broker
This command performs the logout and disconnection from to the MQTT broker.
AT#MQDISC=<instance_number>[,<disc_reason>]
Disconnects gracefully from the MQTT broker, then closes the network
connection
Parameters:
Selects the client
instance
client instance range. to know
maxClients value use test command
Disconnection reason
code
(LE910Cx LInux
exclusive)
<disc_reason> only valid if the MQTT version of the corresponding
<instance_number> is set to v5.0. Omit the
<disc_reason> parameter meant the normal disconnection. Please
refer to MQTT version 5.0 for disconnection reason code.