EasyManuals Logo

SimCom SIM7600 Series Command Manual

SimCom SIM7600 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 #31 background imageLoading...
Page #31 background image
Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual 30 / 41
// Specify the parameter value of the PDP context corresponding to cid
AT+CGSOCKCONT=1,"IP","CMNET"
OK
AT+CGPADDR
+CGPADDR: 1,10.49.14.68 //ensure the first PDP context get a IP address
+CGPADDR: 4,0.0.0.0
OK
Note: usually CSOCKAUTH and CSOCKSETPN parameter are kept default if not care about.
3.1 Access to MQTT server not SSL/TLS
Following commands shows how to communicate with a MQTT server.
// start MQTT service, activate PDP context
AT+CMQTTSTART
OK
+CMQTTSTART: 0
// Acquire one client which will connect to a MQTT server not SSL/TLS
AT+CMQTTACCQ=0,”client test0”
OK
// Set the will topic for the CONNECT message
AT+CMQTTWILLTOPIC=0,10
>0123456789
OK
// Set the will message for the CONNECT message
AT+CMQTTWILLMSG=0,6,1
> qwerty
OK

Table of Contents

Other manuals for SimCom SIM7600 Series

Questions and Answers:

Question and Answer IconNeed help?

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

SimCom SIM7600 Series Specifications

General IconGeneral
BrandSimCom
ModelSIM7600 Series
CategoryControl Unit
LanguageEnglish

Related product manuals