Chat freely about anything...

User avatar
By Dave S
#19679 FYI, if you are using the ESP8266 in station mode with the SDK, this might be of interest to you: I had a issue with the ESP8266 failing to respond to http GET request after about a minute after power-up or reset. This problem was not resolved until SDK version 1.0.1 dated 24 April 2015. But for me, there are problems with SDK 1.1.0, so I am sticking with 1.0.1 for now.

The issue was resolved with the introduction of the mDNS API.

I am currently downloading the Arduino IDE (332 MB) to trace the code and SDK calls.
User avatar
By Dave S
#19780 June 7, 2015: I submitted a bug-bounty report to EspressIf regarding this issue and will post their reply here when it is received.

Unfortunately, I have reached a dead end in tracing back the Arduino IDE code. The call to "Wifi.softAP(SSID);" from the Arduino sketch is what appears to start the ESP8266 DHCP server, but the code being executed is hidden in a binary file.
User avatar
By Dave S
#20106 My problem has been resolved with the release of SDK version 1.1.1.

This latest SDK version does introduces a problem that produces linker failures when attempting to compile the IoT_Demo included as an example App with the SDK.

But here is how to fix the error when compiling/linking:

The problem is that the "Makefile" does not include the pwm library. This must have been part of a different library with prior SDK versions. The updated "Makefile" entry should be:

Code: Select allLIBS      = c gcc hal phy pp net80211 lwip wpa pwm main json upgrade


Also, if your project is based on an earlier version of the SDK, the following function needs to be added to user_main.c just before the user_init(void) function:
Code: Select allvoid user_rf_pre_init(void)
{
   system_phy_set_rfoption(2);
}

You can look at the programming manual to decide what option to set, I selected "2"
defined as "No radio calibration after deep-sleep wake up"

With SDK 1.1.1 and the tweaks noted above, I can now connect to the ESP8266 in AP mode from my Android phone.

PROBLEM SOLVED! :D