[GH-ISSUE #1701] WiFi.disconnect() and WiFi.reconnect() #1441

Open
opened 2026-02-28 01:30:05 +03:00 by kerem · 2 comments
Owner

Originally created by @VladimirVecera on GitHub (Jan 10, 2024).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1701

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.

Originally created by @VladimirVecera on GitHub (Jan 10, 2024). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1701 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.
Author
Owner

@tablatronix commented on GitHub (Jan 11, 2024):

How often you plan on doing this?

<!-- gh-comment-id:1886339783 --> @tablatronix commented on GitHub (Jan 11, 2024): How often you plan on doing this?
Author
Owner

@VladimirVecera commented on GitHub (Jan 11, 2024):

About every 5 to 10 minutes.

<!-- gh-comment-id:1886351655 --> @VladimirVecera commented on GitHub (Jan 11, 2024): About every 5 to 10 minutes.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1441
No description provided.