-->
Page 4 of 6

Re: Cannot connect to ESP8266 in AP mode with Android

PostPosted: Wed Jun 10, 2015 9:18 pm
by Dave S
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

Re: Cannot connect to ESP8266 in AP mode with Android

PostPosted: Fri Jun 12, 2015 7:39 am
by hdrut
Hi,

Have you managed to solve the issue?

Rgds

Re: Cannot connect to ESP8266 in AP mode with Android

PostPosted: Mon Jun 15, 2015 3:03 pm
by Dave S
My problem is resolved. I now have no issues connecting to my Android device with an ESP App in AP mode built using the SDK Version 1.1.1. See my previous comment regarding the solution. Perhaps it may be of value to your situation.

Are you still having problems hdrut?

If so, what are the symptoms?

Re: Cannot connect to ESP8266 in AP mode with Android

PostPosted: Mon Jun 15, 2015 5:27 pm
by hdrut
Unfortunately I do :(

I am now looking at a different webserver option, the one by pvvx.

Anyway, glad to hear you hit the nail !

Rgds,



Horacio