Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual 26 / 41
Read Command
AT+CMQTTCFG?
Response
+CMQTTCFG: 0,<checkUTF8_flag>
+CMQTTCFG: 1, <checkUTF8_flag>
OK
Write Command
/*Configure the check UTF8 flag of the
specified MQTT client context*/
AT+CMQTTCFG="checkUTF8",<index
>,<checkUTF8_flag>
Response
a)If successfully:
OK
b)If failed:
ERROR
Defined Values
The MQTT client index. The range is 0-1.
<checkUTF8_flag>
The flag to indicate whether to check the string is UTF8 coding
or not, the default value is 1.
0 – Not check UTF8 coding.
2.3 Command result codes and unsolicited codes
2.3.1 Command result <err> codes
Result codes
0
operation succeeded
1 failed
2 bad UTF-8 string
3 sock connect fail
4
sock create fail
5 sock close fail
6 message receive fail
7 network open fail
8
network close fail
9 network not opened