Data Sheet

Air602_AT Instruction User Manual
2.2.4 MQTT Instruction
2.2.4.1
Set up the MQTT server
AT+MSERVER
FunctionSet the MQTT server IP address and port.
FormatASCII):
AT+MSERVER=<port>,<ipaddr><CR>
+OK<CR><LF><CR><LF>
Parameter
<port> MQTT server port number, without double quotes
<ipaddr> MQTT server IP address (Do not support domain name address), do not need to add double quotes
2.2.4.2
Set login account and password
AT+MLOGIN
Function Set the MQTT username and password.
FormatASCII):
AT+MLOGIN=<user>,<password><CR>
+OK<CR><LF><CR><LF>
Parameter
<user> Username, no double quotes
<password> Password, no double quotes
Luat 59 /73 page
2.2.4.3 Set client idAT+MID
FunctionSet the client id of the MQTT.
FormatASCII):