Table Of Contents; Contents - SimCom SIM7500 Series Command Manual

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

Advertisement

Contents

Version History .................................................................................................................................. 2
Contents ............................................................................................................................................ 3
1
Introduction ................................................................................................................................ 4
1.1 The SSL Context Management AT Commands (for SSL/TLS MQTT) .................................................. 4
1.2 The process of Using MQTT AT Commands ..................................................................................... 4
2 Description of AT Command ........................................................................................................... 5
2.1 SSL Context Management AT (only for SSL/TLS MQTT) .................................................................. 5
2.1.1 AT+CSSLCFG Configure the SSL Context ........................................................................... 5
2.1.2 AT+CCERTDOWN Download certificate into the module ..................................................... 9
2.1.3 AT+CCERTLIST List certificates ........................................................................................ 9
2.1.4 AT+CCERTDELE Delete certificates ................................................................................. 10
2.2 MQTT Services AT ....................................................................................................................... 11
2.2.1 AT+CMQTTSTART Start MQTT service ........................................................................... 11
2.2.2 AT+CMQTTSTOP Stop MQTT service .............................................................................. 11
2.2.3 AT+CMQTTACCQ Acquire a client .................................................................................. 12
2.2.4 AT+CMQTTREL Release a client ...................................................................................... 13
2.2.6 AT+CMQTTWILLTOPIC Input the topic of will message .................................................... 14
2.2.7 AT+CMQTTWILLMSG Input the will message .................................................................. 15
2.2.8 AT+CMQTTCONNECT Connect to MQTT server .............................................................. 16
2.2.9 AT+CMQTTDISC Disconnect from server ......................................................................... 17
2.2.10 AT+CMQTTTOPIC Input the topic of publish message...................................................... 18
2.2.11 AT+CMQTTPAYLOAD Input the publish message ........................................................... 19
2.2.12 AT+CMQTTPUB Publish a message to server .................................................................. 20
2.2.13 AT+CMQTTSUBTOPIC Input the topic of subscribe message ............................................ 21
2.2.14 AT+CMQTTSUB Subscribe a message to server ............................................................... 22
2.2.16 AT+CMQTTUNSUB Unsubscribe a message to server ...................................................... 24
2.2.17 AT+CMQTTCFG Configure the MQTT Context ............................................................... 25
2.3 Command result codes and unsolicited codes .................................................................................. 26
2.3.1 Command result <err> codes ............................................................................................... 26
2.3.2 Unsolicited result codes ....................................................................................................... 27
3 Example ........................................................................................................................................ 29
3.1 Access to MQTT server not SSL/TLS ............................................................................................. 30
3.2 Connect to SSL/TLS MQTT server (not verify server) ..................................................................... 32
3.3 Access to SSL/TLS MQTT server (only verify the server) ................................................................ 34
3.4 Access to SSL/TLS MQTT server (verify server and client) .............................................................. 36
3.5 Access to MQTT server without checking UTF8 coding ................................................................... 39
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual
Smart Machine Smart Decision
3 / 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

This manual is also suitable for:

Sim7800 seriesSim7600 series

Table of Contents