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

WiFi.disconnect() and WiFi.reconnect() #1701

Open VladimirVecera opened 5 months ago

VladimirVecera commented 5 months ago

I'm using ESP32 (2.0.14) and the latest wifimanager. I use ADC2 and I need to disconnect wifi, measure ADC2 and then connect wifi again. I don't know how well WiFi.disconnect() and WiFi.reconnect() will work if I use wifimanager. So, to be sure, I am writing if using WiFi.disconnect() and WiFi.reconnect() is OK or if it is necessary to use wifimanager.disconnect() or wifimanager.reconnect() - meant as.

tablatronix commented 5 months ago

How often you plan on doing this?

VladimirVecera commented 5 months ago

About every 5 to 10 minutes.