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 #22 background imageLoading...
Page #22 background image
Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual 21 / 41
0 at most once
1 at least once
2 exactly once
<pub_timeout>
The publishing timeout interval value. Since the client publish a
message to server, it will report failed if the client receive no
response from server after the timeout value seconds. The range is
from 60s to 180s.
<ratained>
The retain flag of the publish message. The value is 0 or 1. The
default value is 0.
When a client sends a PUBLISH to a server, if the retain flag is set
to 1, the server should hold on to the message after it has been
delivered to the current subscribers.
<dup>
The dup flag to the message. The value is 0 or 1. The default value
is 0. The flag is set when the client or server attempts to re-deliver
a message.
<err>
The result code: 0 is success. Other values are failure. Please refer
to chapter 2.3.1.
2.2.13 AT+CMQTTSUBTOPIC Input the topic of subscribe message
AT+CMQTTSUBTOPIC is used to input the topic of a subscribe message.
NOTE: The topic will be clean after execute AT+CMQTTSUB.
AT+CMQTTSUBTOPIC Input a subscribe message topic
Test Command
AT+CMQTTSUBTOPIC=?
Response
+CMQTTSUBTOPIC: (0-1),(1-1024)
OK
Write Command
AT+CMQTTSUBTOPIC=<client_index>
,<req_length>,<qos>
Response
a)If successfully:
>
<input data here>
OK
b)If failed:
+CMQTTSUBTOPIC: <client_index>,<err>
ERROR
c)If failed:
ERROR
Defined Values

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