Data Sheet

Air602_AT Instruction User Manual
10. MQTT usage example
Note: Currently, the MQTT server address in the MSERVER command does not support domain names at
present, only IP addresses are supported.
-
AT+WPRT=0
+OK
- AT+SSID=TP-LINK_HyFi_1E
+OK
AT+KEY=1,0,""
+OK
- AT+WJOIN
+OK=3c46d82bd81e,0,11,0,"TP-LINK_HyFi_1E",53
- AT+LKSTT
+OK=1,"192.168.1.109","255.255.255.0","192.168.1.1","192.168.1.1","0.0.0.0"
AT+MSERVER=1883,120.55.137.106
+OK
AT+MLOGIN=user,password
+OK
AT+MID=TEST_MQTT
+OK
AT+MCONNECT
-16 Illegal argument
Luat 63 /73 page