tonyp7 / esp32-wifi-manager

Captive Portal for ESP32 that can connect to a saved wireless network or start an access point where you can connect to existing wifis.
MIT License
673 stars 220 forks source link

Quick wipe old saved data #140

Open AnnoyinWorlock opened 3 years ago

AnnoyinWorlock commented 3 years ago

Looking to do a quick wipe of any saved SSID/passwords.

As a quick fix, I'm just forcing the following conditional to fail to force it to go into the START_AP event but I'm sure there's a better way to do things...

https://github.com/tonyp7/esp32-wifi-manager/blob/ab6ac9a5e90830674f6300a4327ef541246f2048/src/wifi_manager.c#L1028-L1030