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

Added timeout to WPS mode #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rbreaves
Copy link

@rbreaves rbreaves commented Jun 7, 2019

Uses WIFI_CONNECT_TIMEOUT variable in general.h from the espurna source code. (which is set to 60 seconds)

Not sure if this is a default behavior that got overlooked or is undesired, but I know I certainly prefer it as I have been deploying these smartplugs for family and friends that may accidentally knock these devices into WPS or AP mode when manually rebooting (this pull request only times out WPS mode).

@tonilopezmr
Copy link

I would suggest you define a new global variable like JUSTWIFI_WPS_TIMEOUT

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.

2 participants