WiFi Manager

Tim Cozenshire
Posts: 1
Joined: Sat Sep 21, 2019 1:06 pm

WiFi Manager

Postby Tim Cozenshire » Sat Sep 21, 2019 1:32 pm

Hello to all,

I am new to programming with the ESP32 and I am experimenting with the WiFi manager. (WIFIMANAGER-ESP32-master)
I have noticed that, when using the "Auto-Connect" example, once I have entered my Wi-Fi name and password the system 'remembers' this for a new connection later, even if I power off (disconnect) the Node32s development board from a power source. Does this mean that the WiFi manager is saving the data in SPIFFS? I have tried to find out by reading the WiFi.h and WiFi.ccp files but I cannot find any reference to any includes for SPIFFS or any methods that would lead me to believe that this is how it is saving the data.
I am hoping that someone here can show me where in the code this save routine happens.

Thanks
Tim

lbernstone
Posts: 666
Joined: Mon Jul 22, 2019 3:20 pm

Re: WiFi Manager

Postby lbernstone » Mon Sep 23, 2019 3:52 am

The information is stored in the nvs. Run WiFi.setAutoConnect(false) to disable the automatic connection. Run WiFi.disconnect(false,true) to clear out any saved info.

Who is online

Users browsing this forum: No registered users and 73 guests