I had the same issue, and
it was solved by calling "yield();" or "taskYIELD();" in webserver' handlers and every place in code where long work may be. "taskYIELD();" say to scheduler to switch work from your code to some other task, and specially WiFi, for short period of time. Otherwise if your code will block WiFi for long period of time, than WiFi will not work.
WiFi AP disappeared suddenly while using HTTP Server
-
VadymOstanin
- Posts: 1
- Joined: Thu Sep 04, 2025 10:11 am
Re: WiFi AP disappeared suddenly while using HTTP Server
Thanks for sharing your valuable feedback accordingly.I had the same issue, and
it was solved by calling "yield();" or "taskYIELD();" in webserver' handlers and every place in code where long work may be. "taskYIELD();" say to scheduler to switch work from your code to some other task, and specially WiFi, for short period of time. Otherwise if your code will block WiFi for long period of time, than WiFi will not work.
I agreed on your point that Wi-Fi will stuck into long time and we need to handle proper synchronization accordingly from our application code.
We have already managed it with new ESP IDF as well into our application side.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Who is online
Users browsing this forum: No registered users and 7 guests