Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

sdefsdfsfe

# Set MQTT unique client ID. In the example IMEI from device
> AT+UMQTT=0,"350857128129037"
< +UMQTT: 0,1
< OK

# 
AT+UMQTT=1,1883

AT+UMQTT=1,1883


+UMQTT: 1,1


OK

# Set remote MQTT server's name
> AT+UMQTT=2,"broker.emqx.io"
< +UMQTT: 2,1
< OK

# Set remote MQTT server's IP address
> AT+UMQTT=3,"44.195.202.69",1883
< +UMQTT: 3,1
< OK

AT+UMQTTC=1

AT+UMQTTC=1


+UMQTTC: 1,1


OK


+UUMQTTC: 1,0


AT+UMQTTC=4,0,"/exelonix/test"

AT+UMQTTC=4,0,"/exelonix/test"


+UMQTTC: 4,1


OK


+UUMQTTC: 4,1,0,"/exelonix/test"


AT+UMQTTC=2,0,0,"/exelonix/test","MQTT message"

AT+UMQTTC=2,0,0,"/exelonix/test","MQTT message"


+UMQTTC: 2,1


OK


+UUMQTTCM: 6,1


AT+UMQTTC=6

AT+UMQTTC=6


+UMQTTC: 6,1


OK


+UUMQTTCM: 6,1

Topic:/exelonix/test

Msg:MQTT message

  • No labels