-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add non blocking WiFi.connect() method #264
Add non blocking WiFi.connect() method #264
Conversation
- added missing closing curly brace. Maybee wrongly deleted.
|
Memory usage change @ 494c0f7
Click for full report table
Click for full report CSV
|
if I want wait for connection result I can use |
@JAndrassy |
@263 changes |
@JAndrassy
please take two min. to read the explanations in #263 . If waitForConnectResult is no way for you, maybee we can improve the begin methods slightly. |
I have no objection to there is nothing to improve in |
@JAndrassy maybee you looked in the wrong code. Chances in begin are located in #263 . And one hint to the benefit if a non blocking connect! |
again. I have no objection to your I responded about begin to your "maybee we can improve the begin methods slightly." |
@JAndrassy |
I am just a contributor here. I would like my own PR be merged. |
@JAndrassy can we then move further discussions for |
Hi @JAndrassy, |
Memory usage change @ 46b83a0
Click for full report table
Click for full report CSV
|
I think you would achieve same as this |
Could be, BUT if you look at the code, the value of Thats's not my way of smart software development! That's the reason I wanted to add a method like But lets say with the both PR (#263 and #264) I would be happy because all is possible.
|
there is WiFi.setTimeout |
@JAndrassy using |
why to update/benefits
Connecting goes on in background, so other tasks can be done during connecting.
With this approach we introduce the methods
connect
which is an non blocking wifi connect methodNow we can start the wifi connection without blocking..
Changes in methods
tested on
Arduino Nano 33 IOT