EasyManuals Logo

Neoway N11 V2 User Manual

Neoway N11 V2
134 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 #108 background imageLoading...
Page #108 background image
N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
100
OK
successfully.
Remarks
Topicname must be marked by quotation marks.
15.5 Unsubscription: +MQTTUNSUB
Description
To unsubscribe a topic
Format
AT+MQTTUNSUB=<”topicname”><CR>
Parameter
<”topicname”>: Topic to unsubscribe to, the parameter must be marked by
quotation marks.
Return Value
<CR><LF>OK<CR><LF>
Example
AT+MQTTUNSUB="lixytopic"
OK
Unsubscribe to a topic
Remarks
Topicname must be marked by quotation marks.
15.6 Topic Publish: +MQTTPUB
Description
To publish a topic
Format
AT+MQTTPUB=<retained>,<qos>,<”topicname”>,<message><CR>
Parameter
<Retained>: Retain mark
<Qos>: Quality of service
<”topicname”>: Topic, the parameter must be marked by quotation marks.
<Message>: Message
Return Value
<CR><LF>OK<CR><LF>
Example
AT+MQTTPUB=0,1,"lixytopic",12345
OK
The topic is published successfully.
AT+MQTTPUB=0,2,"lixytopic",12345
ERROR
The server does not support QoS=2.
After the command times out, the
device disconnects to the MQTT
server. Developers need to reconnect
manually.
Remarks
Topicname must be marked by quotation marks.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Neoway N11 V2 and is the answer not in the manual?

Neoway N11 V2 Specifications

General IconGeneral
BrandNeoway
ModelN11 V2
CategoryControl Unit
LanguageEnglish

Related product manuals