-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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() "aligned with Aduino.cc". waiting for status change. #9062
WiFi.disconnect() "aligned with Aduino.cc". waiting for status change. #9062
Conversation
👋 Hello JAndrassy, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
Just something to consider. Also all |
e728aad
to
60876aa
Compare
the state changes takes less than 1 millisecond. |
60876aa
to
8daab72
Compare
8daab72
to
51af1c4
Compare
WiFi.disconnect renamed to disconnectAsync new WiFi.disconnect waits for status change
51af1c4
to
8fa2724
Compare
WiFi.disconnect() "aligned with Aduino.cc".
WiFi.disconnect
renamed todisconnectAsync
new
WiFi.disconnect
waits forstatus
changethe WiFi library with async disconnect behaves very strange. after disconnect() and immediate WiFi.begin it can't connect. I had to add a wait for status change after disconnect in my test sketch.
So I think the blocking version of disconnect() is a better option for everybody. It is quick.