- Thu Jan 08, 2015 11:35 am
#6696
Thanks for the library tuanpm! I managed to compile and upload it successfully (I'm new to all this), and see in my serial monitor that it connects succesfully to my AP, the internet and the (cloud) MQTT broker. I didn't alter anything other than the necessary credentials.
However, I've got a few other subscribers/publishers that listened/posted to the sample 2 topics, but I don't see any messages on the serial monitor or on my other pub/sub applications. Is this standard behaviour?
Code: Select allMQTT: Connected to xxx.cloudmqtt.com:xxxx
MQTT: Connected
MQTT: subscribe, topic"/test/topic" at broker xxx.cloudmqtt.com:xxxx
MQTT: subscribe, topic"/test2/topic" at broker xxx.cloudmqtt.com:xxxx
TCP: Sent
TCP: data received
MQTT: Subscribe successful
[*snip*, and repeated every now and then:]
MQTT: Send keepalive packet to xxx.cloudmqtt.com:xxxx!
TCP: Sent
MQTT: Published
TCP: data received