-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ESP32 strange WiFi behavior at standard example codes: #2345
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
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
@nae9 is your router a Linksys EA? |
EA4500 , openwrt git-18.228.31946-f64b152 |
me-no-dev/ESPAsyncWebServer#437 I have a EA6300 with stock firmware, and I am having the same issues, the problem is that for me setSleep() doesn't solve my problems for output connections. The only way to fix the problem in my case is doing a ping to the IP until wakeups |
Another router (Not linksys EA) can help this issue? |
Here, I only have this router here, but I will try with another routers. Based on the issue referred and the fact that you have a very similar issue and the same brand and series of mine, I can imagine that the problem is only related with the routers. |
I can confirm that in my case, with outer routers works flawless, using same sever and board |
Release example codes for arduino esp32 have some problem...
If i compile for example SimpleWiFiServer.ino and try to connect by web-browser then serial terminal shows that after right connection led wrong client with free rx buffer and it led to close this client by timeout (freezes main loop). (client.stop() not work properly)
It seemed that wifi go in to sleep mode after beginning and disable sleep mode after Wifi.begin() fix this problem. And all examples work fine with hi speed http response, as at very old libraries (before rx buffer introduce into wifi lib).
void setup()
{
...
WiFi.begin(ssid, password);
WiFi.setSleep(false);// this code solves my problem
...
}
But may be some body pull this parameter as default into release libs? Or change ALL example codes in such manner?
Or may be there is some bugs in libs that dont allow wifi work correct in sleepmode at fast http querry?
The text was updated successfully, but these errors were encountered: