Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual 14 / 41
AT+CCHSSLCFG Set the SSL context
Test Command
AT+CMQTTSSLCFG=?
Response
+ CMQTTSSLCFG: (0,1),(0-9)
OK
Read Command
AT+CMQTTSSLCFG?
Response
+CMQTTSSLCFG: <session_id>,[<ssl_ctx_index >]
+CMQTTSSLCFG: <session_id>,[<ssl_ctx_index >]
OK
Write Command
AT+CMQTTSSLCFG=<session_id>,<ssl
_ctx_index>
a)If successfully:
OK
b)If failed:
ERROR
Defined Values
<session_id>
The session_id to operate. Itās from 0 to 1
<ssl_ctx_index>
The SSL context ID which will be used in the SSL connection.
Refer to the <ssl_ctx_index> of AT+CSSLCFG
2.2.6 AT+CMQTTWILLTOPIC Input the topic of will message
AT+CMQTTWILLTOPIC is used to input the topic of will message.
AT+CMQTTWILLTOPIC Input the will topic
Test Command
AT+CMQTTWILLTOPIC=?
Response
+CMQTTWILLTOPIC: (0-1),(1-1024)
OK
Write Command
AT+CMQTTWILLTOPIC=<client_index
>,<req_length>
Response
a)If successfully:
>
<input data here>
OK
b)If failed:
+CMQTTWILLTOPIC: <client_index>,<err>
ERROR