tzapu / WiFiManager

ESP8266 WiFi Connection manager with web captive portal
http://tzapu.com/esp8266-wifi-connection-manager-library-arduino-ide/
MIT License
6.45k stars 1.94k forks source link

How can I erase my all saved wifi credentials from esp32 #1631

Open Sudheer474 opened 1 year ago

Sudheer474 commented 1 year ago

I want to reset all wifi credentials which I've configured first time but when I'm running wifiManeger.resetSettings().. it is not working because it automatically connects to the previously configured Access point. But i want is when i run wifiManeger.resetSettings() this it then esp32 will ask me to re-configure wifi.

Hope you get my problem. Thanking you.

tablatronix commented 1 year ago

hmm, whats the code look like, it should work. Maybe try setting a wifi mode first?

akutruff commented 8 months ago

I think there's a bug in the reset code. The struct isn't zeroed out before it's being written to memory so garbage can end up stored that appears to have an ssid.

tablatronix commented 8 months ago

Interesting, afaik this is all in the ESP library itself

Grey-Lancaster commented 8 months ago

erase the board