Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

esp8266 nuances/bugs/workarounds #430

Open
tablatronix opened this issue Sep 25, 2017 · 5 comments
Open

esp8266 nuances/bugs/workarounds #430

tablatronix opened this issue Sep 25, 2017 · 5 comments
Labels
Discussion Further Discussion ongoing

Comments

@tablatronix
Copy link
Collaborator

logging all workarounds and nuances and SDK bugs

@tablatronix tablatronix added the Discussion Further Discussion ongoing label Sep 25, 2017
@tablatronix
Copy link
Collaborator Author

tablatronix commented Sep 25, 2017

  • Sometimes when set to a non existing AP, on IOS I cannot connect to AP "Unable to connect to Access Point" even though I have sta mode disabling before starting AP, could be related to large number of APs around, but it almost never occurs when STA is connected to a good AP. So something is odd, or stuck still.

I have tried the following to correct with no effect (in addition to disconnect and mode(AP))

    wifi_station_dhcpc_stop();
    WiFi.setAutoConnect(false);
    WiFi.setAutoReconnect(false);
    wifi_set_sleep_type(NONE_SLEEP_T);

You can see how unreliable the AP is when in this mode, something is still causing this in the SDK radio

image

@tablatronix
Copy link
Collaborator Author

tablatronix commented Oct 27, 2017

Unable to connect to SoftAP

If esp has ap config default ( anonymous in my test )
persistent wifi mode AP+STA ( sta connected )
StartAP(name,password)

I get invalid password, or unable to connect errors, no debugging info available.
IOS will not connect at all. Windows is flaky, but will connect usually.

Will create repro sketch

Cannot reproduce in 2.3.1( hope its fixed in SDK )

@tablatronix
Copy link
Collaborator Author

tablatronix commented Oct 28, 2017

Cannot erase flash
esp8266/Arduino#1494
esp8266/Arduino#2885
esp8266/Arduino#3635 <-- OMG how has this never been fixed until now

ESP.restart()
ESP.reset()
while(1)

Do not help.

EDIT:
Working good now, but if no 3635 bugfix, you can get paramerrors or erase flash not working completely ( eg, opmode default stays STA+AP). Adding a polyfill

@tablatronix
Copy link
Collaborator Author

tablatronix commented Nov 6, 2017

I have submitted PRs for these to esp8266/arduino, I doubt they will get aprooved anytime soon, if you guys could upvote them, that might help.

persistent state bugs

These bugs, cause problems switching modes, when persistent is toggled off and on, esp core assumes current and default configs are in sync, when they are not always so.
esp8266/Arduino#3799
MERGED

workaround:
not yet available

BUG: softAPdisconnect return value corruption

This causes softAPdisconnect to fail always, this prevents saving state when persistent is on
esp8266/Arduino#3795
MERGED

workaround:
not yet available

BUG: softAPdisconnect fails

This causes softAPdisconnect to incorrectly return success status if wifioff is true, as ret val gets overwritten.
esp8266/Arduino#3793
MERGED

workaround:
not yet available

@tablatronix tablatronix changed the title esp8266 nuances esp8266 nuances/bugs/workarounds Nov 6, 2017
@tablatronix
Copy link
Collaborator Author

tablatronix commented Mar 17, 2018

softap
[AP] set_config failed!
esp8266/Arduino#4372
[OPEN]

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Discussion Further Discussion ongoing
Projects
None yet
Development

No branches or pull requests

1 participant