Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
VladimirVecera opened this issue Jan 10, 2024 · 2 comments
Open

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

VladimirVecera opened this issue Jan 10, 2024 · 2 comments

Comments

@VladimirVecera
Copy link

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
Copy link
Collaborator

How often you plan on doing this?

@VladimirVecera
Copy link
Author

About every 5 to 10 minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants