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 #20 background imageLoading...
Page #20 background image
Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual 19 / 41
AT+CMQTTTOPIC=?
OK
Write Command
AT+CMQTTTOPIC=<client_index>,<re
q_length>
Response
a)If successfully:
>
<input data here>
OK
b)If failed:
+CMQTTTOPIC: <client_index>,<err>
ERROR
c)If failed:
ERROR
Defined Values
<client_index>
A numeric parameter that identifies a client. The range of permitted
values is 0 to 1.
<req_length>
The length of input topic data. The publish message topic should be
UTF-encoded string. The range is from 1 to 1024 bytes.
<err>
The result code: 0 is success. Other values are failure. Please refer
to chapter 2.3.1.
2.2.11 AT+CMQTTPAYLOAD Input the publish message
AT+CMQTTPAYLOAD is used to input the message body of a publish message.
NOTE: The payload will be clean after execute AT+CMQTTPUB.
AT+CMQTTPAYLOAD Input the publish message body
Test Command
AT+CMQTTPAYLOAD=?
Response
+CMQTTPAYLOAD: (0-1),(1-10240)
OK
Write Command
AT+CMQTTPAYLOAD=<client_index>,
<req_length>
Response
a)If successfully:
>
<input data here>
OK
b)If failed:
+CMQTTPAYLOAD: <client_index>,<err>
ERROR

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