-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why ESPHTTPServer.begin is blocking till wifi connected? #48
Comments
good question, and one i will look into , |
I have had some issues with connections reliability on esp01 unless the WiFi.waitForConnectResult is used Let me do some tests before I merge your request |
i have had a chance to test, initial connection works well, but reconnect was problematic, the wifi stack does have a WiFi.setAutoReconnect(true) option, which i will try later |
having done some testing , WiFi.setAutoReconnect(true) does not seem to need to be explicitly set. but i think it is worth while . i have also found http://www.esp8266.com/viewtopic.php?p=73157 there are some other issues relating to reconnects If you can comment out the original code (rather than delete) with a note i will merge , thanks |
non blocking Wifi connection (Issue #48)
solved... |
Do we really need blocking begin function? I would like my system work even if no wifi available.
The text was updated successfully, but these errors were encountered: