Skip to content

Add timeout to waitForConnectResult #5371

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

Merged
merged 9 commits into from
Jul 4, 2019
Merged

Conversation

dav1901
Copy link
Contributor

@dav1901 dav1901 commented Nov 24, 2018

Aims to fix #4309

@dav1901
Copy link
Contributor Author

dav1901 commented Dec 23, 2018

Actually, I think it might be better to allow passing timeout length as an optional parameter, with default being 60 seconds. Any thoughts @devyte?

@devyte
Copy link
Collaborator

devyte commented Dec 23, 2018

Sounds good, optional arg that defaults to 60s or 60000ms

@dav1901
Copy link
Contributor Author

dav1901 commented Dec 23, 2018

default is 60000ms.

@d-a-v d-a-v merged commit 1631294 into esp8266:master Jul 4, 2019
@dav1901 dav1901 deleted the issue4309 branch July 5, 2019 12:25
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

Successfully merging this pull request may close these issues.

WiFi.waitForConnectResult() takes up to 1 hour to return
3 participants