Open vitotai opened 7 years ago
Hello, I have a similar problem. Have you solved the problem? If, so, please give a hint.
NO. I have no idea how to debug this issue. The disconnection seems to happen only when there is NO connection of STATION IP, so my application seems to work fine.
Thank you for your your reply.
Basic Infos
Hardware
Hardware: ESP-12 ( WEMOS D1 mini) Core Version: 2.3.0
Description
The main issue is that the station disconnects from AP every 5 to 10 minutes when set to WIFI_AP_STA mode.
My real sketch creates a ESPAsyncWebServer and hosts a ServerSideEvent. It's funny that if a client, a browser, connects to it, then the disconnection won't happen.
A minor issue is that ESP8266 seems to connect to the saved AP before WiFi.begin() is called. My real sketch will open a configuration file before setup the network. The delay() in setup() is used to simulate it.
Settings in IDE
Module: Core Development Module Flash Size: 4MB/3MB CPU Frequency: 80Mhz Flash Mode: DIO Flash Frequency: 40Mhz Upload Using: SERIAL Reset Method: nodemcu
Sketch
Debug Messages