Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual 25 / 41
+CMQTTUNSUB: <client_index>,<err>
ERROR
d)If failed:
ERROR
Write Command
/* unsubscribe one topic*/
AT+CMQTTUNSUB=<client_index>,<re
qLength>,<dup>
Response
a)If successfully:
>
<input data here>
b)If failed:
OK
+CMQTTUNSUB: <client_index>,<err>
c)If failed:
+CMQTTUNSUB: <client_index>,<err>
ERROR
d)If failed:
Defined Values
<client_index>
A numeric parameter that identifies a client. The range of permitted
values is 0 to 1.
<req_length>
The length of input topic data. The message
topic should be
UTF-encoded string. The range is from 1 to 1024 bytes.
<dup>
The dup flag to the message. The value is 0 or 1. The default value
is 0. The flag is set when the client or server attempts to re-deliver
a message.
<err>
The result code: 0 is success. Other values are failure. Please refer
to chapter 2.3.1.
2.2.17 AT+CMQTTCFG Configure the MQTT Context
AT+CSSLCFG Configure the SSL Context
Test Command
AT+CMQTTCFG=?
Response
+CMQTTCFG: "checkUTF8",(0-1),(0-1)
OK