Open kormilicinkostia opened 4 years ago
Confirm I am having similar issues. Length of time though is variable.
My code starts in STA mode and connects to the router fine. If the connection is lost (or I use my configuration button), it will start in APSTA mode. Normally I'll be able to see the soft AP.
But when this issue kicks up, I can't see the softAP nor will it connect to the router. Even though the router is fine.
I am also experiencing this issue. I have been debugging for weeks. In my case it uses STA mode only and the time to failure is random. It has taken 1 hour to 48 hours to fail and is variable every time. When I get the 201 (no ap found) error, I have tried multiple variations of stopping wifi, deinit wifi, re-configuring wifi, re-init wifi, and restarting wifi. It never resolves the issue and the AP is never found again. I am convinced that the WiFi component is not scanning at all and reporting AP not found. As soon as the ESP8266 is power cycled, it reconnects to the AP.
Problem Description
I am using Esp8266 in WIFI_MODE_APSTA mode. My device successfully connects to the selected network and creates an access point. After 15-20 minutes, I see that the module turns off Wi-Fi (the access point I created is lost, and esp8266 disconnects from the selected Wi-Fi station). In the logs, I see the following message:
After that, the message in an endless loop displays the following text:
You can restore normal system behavior only by rebooting the power board
Expected Behavior
I want esp8266 to work stably in WIFI_MODE_APSTA mode
Actual Behavior
Turn off the wi-fi module 15-20 minutes after the start of work
Steps to repropduce
1) Turn on the wifi module in WIFI_MODE_APSTA mode 2) Connect wi-fi to the selected network 3) Wait 15-20 minutes
Code to reproduce this issue
// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
Other items if possible
build
folder (note this may contain all the code details and symbols of your project.)