EasyManuals Logo

SimCom SIM7800 Series User Manual

SimCom SIM7800 Series
41 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #35 background imageLoading...
Page #35 background image
Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual 34 / 41
// Disconnect from server
AT+CMQTTDISC=0,120
OK
+CMQTTDISC: 0,0
//Release the client
AT+CMQTTREL=0
OK
//stop MQTT Service
AT+CMQTTSTOP
OK
+CMQTTSTOP: 0
3.3 Access to SSL/TLS MQTT server (only verify the server)
Following commands shows how to access to a SSL/TLS MQTT server with verifying the server. It needs to
configure the authentication mode to 1 and the right server root CA, and then it will connect to the server
successfully.
AT+CSSLCFG=”sslversion”,0,4// Set the SSL version of the first SSL context
OK
// Set the authentication mode(verify server) of the first SSL context
AT+CSSLCFG=”authmode”,0,1
OK
// Set the server root CA of the first SSL context
AT+CSSLCFG=”cacert”,0,”server_ca.pem”
OK
AT+CMQTTSTART // start MQTT service, activate PDP context
OK
+CMQTTSTART: 0
// Acquire one client which will connect to a SSL/TLS MQTT server
AT+CMQTTACCQ=0,”client test0”,1
OK
// Set the first SSL context to be used in the SSL connection
AT+CMQTTSSLCFG=0,0
OK

Table of Contents

Other manuals for SimCom SIM7800 Series

Questions and Answers:

Question and Answer IconNeed help?

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

SimCom SIM7800 Series Specifications

General IconGeneral
BrandSimCom
ModelSIM7800 Series
CategoryControl Unit
LanguageEnglish

Related product manuals