At+Awssub - USR IOT Cortex-M7 Series At Command Manual

Serial to ethernet device server
Table of Contents

Advertisement

<CR><LF>+OK<CR><LF>
Parameter
pubnum:1~16, each serial port support maximum 16 topics.
puben
ON: enable.this topic message can be published to server.
OFF:disable.default.
topic:0~128 characters,do not support wildcards
mode
0: send to all topics.default.
1: send to specified topic.format:symbol,payload.
symbol: topic alias,maximum 16 characters,default same to pubnum.
Qos: 0,1.default 0.
retained
ON: enable
OFF:disable.default.
comn:serial port number.
E.g.AT+AWSPUB=1,ON,/PubTopic1,0,1,0,OFF,1

2.5.75. AT+AWSSUB

Function
Query/set topic message to subscribe
Query
AT+AWSSUB<CR>
<CR><LF>+OK=<subnum,suben,topic,mode,Qos,cut,comn><CR><LF>
Set
AT+AWSSUB=<subnum,suben,topic,mode,Qos,cut,comn><CR>
<CR><LF>+OK<CR><LF>
Parameter
subnum:1~16, each serial port support maximum 16 topics.
puben
ON: enable.subscribe this topic message from server.
OFF:disable.default.
topic:maximum 128 characters
mode
0: only send payload to serial port.default.
1: topic and payload are sent to serial port.
Qos: 0,1.default 0.
cut: separator or delimiter between topic and payload. e.g. &#44 represent comma.
comn:serial port number 1~n.
E.g.AT+AWSSUB=1,ON,/SubTopic1,1,0,&#44,1
Your TrustWorthy Industrial IoT Partner
39
AT command set
www.pusr.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Cortex-M7 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for USR IOT Cortex-M7 Series

This manual is also suitable for:

Usr-n510Usr-n520Usr-n540Usr-n580

Table of Contents