
AT command set
Your TrustWorthy Industrial IoT Partner
www.pusr.com
32
AT+MQTTUSER<CR>
<CR><LF>+OK =<user><CR><LF>
Parameters
user:up to 128 characters,can’t be NULL
E.g.AT+MQTTUSER=admin
2.5.58. AT+MQTTPSW
Function
Query/set password
Format
Query
AT+MQTTPSW<CR>
<CR><LF>+OK=<password><CR><LF>
Set
AT+MQTTPSW<CR>
<CR><LF>+OK =<password><CR><LF>
Parameters
password:up to 128 characters,can’t be NULL
E.g.AT+MQTTPSW=admin
2.5.59. AT+MQTTLWTEN
Function
Query/set whether to enable last will and testament
Format
Query
AT+MQTTLWTEN<CR>
<CR><LF>+OK=<sta><CR><LF>
Set
AT+MQTTLWTEN=<sta><CR>
<CR><LF>+OK<CR><LF>
Parameter
sta
ON: enable
OFF:disable.default.
E.g.AT+MQTTLWTEN=ON
2.5.60. AT+MQTTLWTCFG
Function
Query/set last will message
Query
AT+MQTTLWTCFG<CR>