Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual 12 / 41
OK
+CMQTTSTOP: <err>
c)If failed:
ERROR
Defined Values
<err>
The result code, please refer to chapter 2.3.1
2.2.3 AT+CMQTTACCQ Acquire a client
AT+CMQTTACCQ is used to acquire a MQTT client. It must be called before all commands about MQTT
connect and after AT+CMQTTSTART
.
AT+CMQTTACCQ Acquire a client
Test Command
AT+CMQTTACCQ=?
Response
+CMQTTACCQ: (0-1),(1-23),(0-1)
OK
Read Command
AT+CMQTTACCQ?
Response
+CMQTTACCQ: <client_index>, <clientID>,<server_type>
+CMQTTACCQ: <client_index>, <clientID>,<server_type>
OK
Write Command
AT+CMQTTACCQ=<client_index>,
<clientID>[, <server_type>]
Response
a)If successfully:
OK
b)If failed:
+CMQTTACCQ: <client_index>,<err>
ERROR
c) If failed:
Defined Values
<client_index>
A
numeric parameter that identifies a client. The range of
permitted values is 0 to 1.
<clientID>
The UTF-
encoded string. It specifies a unique identifier for the
client. The string length is from 1 to 23 bytes.
<server_type>
A numeric parameter that identifies the server type. The default
value is 0.