tuanpmt / espduino

ESP8266 network client (mqtt, restful) for Arduino
http://tuanpm.net/post/espduino
MIT License
382 stars 122 forks source link

Connect/disconnect loop without pulling down any change info; #55

Open andrewlstewart opened 8 years ago

andrewlstewart commented 8 years ago

Hi, (complete newbie here), I've flashed ESPduino on my ESP8266 and uploaded a slightly modified version of the MQTT client with a config file. The serial monitor off the FTDI is showing a looping connected/disconnected after what appears to be a successful setup.

I'm trying to simply pull down the state of a toggle from Adafruit.io but regardless of what I put into the MQTT_SUBSCRIBED_TOPIC nothing shows up on the serial monitor.

Have I put all the correct constants in the correct places? (I can't seem to decipher where the mqtt.connect and mqtt.disconnect's being called from; I tried looking around into the esp.process() as it is the only thing called in the loop() but quickly was dumbfounded.

Any ideas or good guides/tutorials/documentation for ESPduino help?