Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 11 months ago.
Code not working
Hi! I'm having a problem getting your example codes to work. I tried the MQTT HelloWorld first, but client connection kept failing. I tried the simple HelloESP8266Interface but that didn't even get an IP address. Lastly I tried the HTTP HelloWorld. I'm using the ESP - 01 with the stock AIThinker firmware. What should I do to get this to work? Thanks, Andreas
Question relating to:
1 Answer
8 years, 11 months ago.
The mbed ESP8266 library is based on the firmware from Espressif, the ATThinker firmware is way out of date last we checked. Try updating your firmware with the instructions here : https://developer.mbed.org/teams/ESP8266/wiki/Firmware-Update
I don't understand what you mean by "way out of date". The firmware is dated as sometime in June, this year. In any case, the AT commands work just fine. On hooking up a logic analyser to the chip and running the HelloWorld code, I notice that the module answers correctly, but your API misinterprets some things. Specifically, it doesn't receive the IP address correctly, and seems to botch up the server address.
posted by 22 Dec 2015