Erasing WiFi credentials from NVS with code
Posted: Thu Feb 15, 2018 9:01 am
Hi
I have saved WiFi Credentials to NVS by choosing WiFi storage as NVS configuration.
Is there a way to erase the WiFi config from NVS with code, and not by doing "make erase_flash" ?
I tried to create a wifi_config_t configuration by setting a null ssid and password but it does not seem to work, and the device auto connects on reboot with the older credentials.
Any suggestions ?
Thanks
Ankit
I have saved WiFi Credentials to NVS by choosing WiFi storage as NVS configuration.
Is there a way to erase the WiFi config from NVS with code, and not by doing "make erase_flash" ?
I tried to create a wifi_config_t configuration by setting a null ssid and password but it does not seem to work, and the device auto connects on reboot with the older credentials.
Any suggestions ?
Thanks
Ankit