frame

NodeMCU - mqtt client not connecting

I am trying to execute MQTT example on NodeMCU.

With additional print commands, I found that code stuck on this line

client.connect("test.mosquitto.org", 60)

I tried one trick, and force wrong host name (delete last g letter), and in that situation, I got exception ... With correct host name, nothing happened ...


Tagged:

Comments

Sign In or Register to comment.

ZERYNTH Community

@ 2016 Zerynth.com, all rights reserved.