EasyManua.ls Logo

SimCom SIM7500 Series

SimCom SIM7500 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
Loading...
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 SIM7500 Series

Related product manuals