9.10.1.2 +MQTTCONN

This is used to connect to an MQTT broker.

Security – Default Security for the command is: GGGG

Table 9-63. Command Syntax

Command

Description

Security

AT+MQTTCONN

Query current connection status

GGGG

AT+MQTTCONN=<CLEAN>

Start a new connection

GGGG

Table 9-64. Command Parameter Syntax

Parameter Name

Type

Description

<CLEAN>

Integer

Clean Session
  • 0 – Use existing session, if available
  • 1 – Use new session