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

Request: Add small delay before restart to allow sending response #102

Merged
merged 1 commit into from
Feb 18, 2021

Conversation

d42ohpaz
Copy link
Contributor

I noticed when using the / POST endpoint for setting the ssid and password that the device will restart before the browser gets a response back from the server. By adding a small delay before restarting, there is enough time for the web server to finish processing the request.

@d42ohpaz
Copy link
Contributor Author

This addresses #103

@d42ohpaz
Copy link
Contributor Author

Re: failed build, it looks like a problem on the CI server:

$ platformio update
Error: Python 3.6 or later is required for this operation.
Please check a migration guide:
https://docs.platformio.org/en/latest/core/migration.html#drop-support-for-python-2-and-3-5
The command "platformio update" failed and exited with 1 during .

Or is there something I need to do on my end?

@nrwiersma
Copy link
Owner

Can you please rebase onto master, this will fix the CI issue.

@nrwiersma nrwiersma merged commit 91fec25 into nrwiersma:master Feb 18, 2021
@nrwiersma
Copy link
Owner

Thanks for the contribution.

@d42ohpaz d42ohpaz deleted the delay-before-ap-wifi-restart branch February 20, 2021 06:03
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.

None yet

3 participants