At+Cmqttunsubtopic Input The Topic Of Unsubscribe Message - SimCom SIM7500 Series Command Manual

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

Advertisement

Defined Values
<client_index>
<req_length>
<qos>
<dup>
<err>

2.2.15 AT+CMQTTUNSUBTOPIC Input the topic of unsubscribe message

AT+CMQTTUNSUBTOPIC is used to input the topic of a unsubscribe message.
NOTE: The topic will be clean after execute AT+CMQTTUNSUB.
AT+CMQTTUNSUBTOPIC Input a unsubscribe message topic
Test Command
AT+CMQTTUNSUBTOPIC=?
Write Command
AT+CMQTTUNSUBTOPIC=<client_ind
SIM7500_SIM7600_SIM7800 Series_MQTT_AT Command Manual
+CMQTTSUB: <client_index>,<err>
b)If failed:
OK
+CMQTTSUB: <client_index>,<err>
c)If failed:
+CMQTTSUB: <client_index>,<err>
ERROR
d)If failed:
ERROR
A numeric parameter that identifies a client. The range of permitted
values is 0 to 1.
The length of input topic data. The message topic should be
UTF-encoded string. The range is from 1 to 1024 bytes.
The publish message's qos. The range is from 0 to 2.
0 – at most once
1 – at least once
2 – exactly once
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.
The result code: 0 is success. Other values are failure. Please refer
to chapter 2.3.1.
Response
+CMQTTUNSUBTOPIC: (0-1),(1-1024)
OK
Response
a)If successfully:
Smart Machine Smart Decision
23 / 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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sim7800 seriesSim7600 series

Table of Contents