... weeks. Two things have significantly reduced the issue. A: I only call WiFi.begin() to reconnect. Everything else like hostname, Wifi.mode() or WiFi.persistent() are only set once in the setup. The values remain even with WiFi.disconnect(true). B: Probably the most important thing. Deactivating ...
Search found 89 matches: wifi persistent
Re: Reconnect problems with Wifi, sometimes loosing RAM
by peff ¦ Fri Sep 30, 2022 7:44 am ¦ Forum: General Discussions ¦ Topic: Reconnect problems with Wifi, sometimes loosing RAM ¦ Replies: 3 ¦ Views: 4186ESP201 reboot loop after some running time
by leclou ¦ Sun Aug 07, 2022 6:20 pm ¦ Forum: Bugs ¦ Topic: ESP201 reboot loop after some running time ¦ Replies: 1 ¦ Views: 3817... delay( 1 ); // Disable the WiFi persistence. The ESP8266 will not load and save WiFi settings unnecessarily in the flash memory. WiFi.persistent( false ); Serial.println("Start WiFi"); // Bring up the WiFi connection WiFi.mode( WIFI_STA ); WiFi.config( ip, dns, gateway, ...
Does ESP8266 support WiFi PFM (Protected Management Frame)?
by wmd1942 ¦ Sat May 21, 2022 9:01 am ¦ Forum: General Discussions ¦ Topic: Does ESP8266 support WiFi PFM (Protected Management Frame)? ¦ Replies: 0 ¦ Views: 2627... the examples): void setup() { Serial.begin(115200); delay(200); Serial.println(); Serial.print("Connecting to "); Serial.println(ssid); WiFi.persistent(false); WiFi.mode(WIFI_STA); WiFi.begin(ssid, pass); while (WiFi.status() != WL_CONNECTED) { delay(1000); Serial.print("."); ...
ESP8266 WiFi Credentials auto saved to flash (ESP8266WiFi.h)
by s100 ¦ Sun May 01, 2022 1:17 am ¦ Forum: Arduino ¦ Topic: ESP8266 WiFi Credentials auto saved to flash (ESP8266WiFi.h) ¦ Replies: 6 ¦ Views: 18668... memory. " and " If your project is going to be restarting frequently (like going in and out of deep sleep often) I'd definitely use WiFi.persistent(false) to avoid wear on the flash. " Most of my projects use deep sleep cycling to save battery power. The Arduino Core documentation ...