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.
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.