
AT command set
Your TrustWorthy Industrial IoT Partner
www.pusr.com
35
<CR><LF>+OK=<subnum,suben,topic,mode,Qos,cut,comn><CR><LF>
Set
AT+MQTTSUB=<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,2.default 0.
cut: separator or delimiter between topic and payload. e.g. , represent comma.
comn:serial port number. 1~n.
E.g.AT+MQTTSUB=1,ON,/SubTopic1,1,0,,,1
2.5.65. AT+AWSEN
Function
Query/set whether to enable AWS IOT service
Format
Query
AT+AWSEN<CR>
<CR><LF>+OK=<sta><CR><LF>
Set
AT+AWSEN=<sta><CR>
<CR><LF>+OK<CR><LF>
Parameter
sta
ON: enable
OFF:disable.default.
E.g.AT+AWSEN=ON
2.5.66. AT+AWSCID
Function
Query/set client ID
Format
Query
AT+ AWSCID<CR>
<CR><LF>+OK=< clientid><CR><LF>