At+Cmqttrel Release A Client; At+Cmqttsslcfg Set The Ssl Context (Only For Ssl/Tls Mqtt) - SimCom SIM7500 Series Command Manual

Mqtt at, lte module
Hide thumbs Also See for SIM7500 Series:
Table of Contents

Advertisement

<err>

2.2.4 AT+CMQTTREL Release a client

AT+CMQTTREL is used to release a MQTT client . It must be called after AT+CMQTTDISC and before
AT+CMQTTSTOP .
AT+CMQTTREL Release a client
Test Command
AT+CMQTTREL=?
Read Command
AT+CMQTTREL?
Write Command
AT+CMQTTREL=<client_index>
Defined Values
<client_index>
<err>

2.2.5 AT+CMQTTSSLCFG Set the SSL context (only for SSL/TLS MQTT)

AT+CMQTTSSLCFG is used to set the SSL context which to be used in the SSL connection when it will connect
to a SSL/TLS MQTT server. It must be called before AT+CMQTTCONNECT and after AT+CMQTTSTART .
The setting will be cleared after the CMQTTCONNECT operation is finished.
NOTE: If you don't set the SSL context by this command before connecting to server by
AT+CMQTTCONNECT, the CMQTTCONNECT operation will use the SSL context as same as index
<session_id> (the 1st parameter of AT+ CMQTTCONNECT) when connecting to the server.
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual
0 - MQTT server with TCP
1-MQTT server with SSL/TLS
The result code, please refer to chapter 2.3.1
Response
+CMQTTREL: (0-1)
OK
Response
OK
Response
a)If successfully:
OK
b)If failed:
+CMQTTREL: <client_index>,<err>
ERROR
c) If failed:
ERROR
A numeric parameter that identifies a client. The range of
permitted values is 0 to 1.
The result code, please refer to chapter 2.3.1.
Smart Machine Smart Decision
13 / 41

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIM7500 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sim7800 seriesSim7600 series

Table of Contents