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

Reduce or stop WiFi scanning when not being used #164

Open
fhunleth opened this issue Feb 19, 2020 · 0 comments
Open

Reduce or stop WiFi scanning when not being used #164

fhunleth opened this issue Feb 19, 2020 · 0 comments

Comments

@fhunleth
Copy link
Member

It turns out to be convenient when debugging to put a device into AP mode with the wizard and ssh into it. This works great except for one flaw: The WiFi scan that occurs every 20 seconds introduces an annoying hiccup. See:

https://github.com/nerves-networking/vintage_net_wizard/blob/master/lib/vintage_net_wizard/backend/default.ex#L174

Fixes to this could be to disable scanning until someone loads a web page or scan at a low frequency (once every 5 minutes?) until someone loads the web page and then scan more regularly. Or maybe just do this if the most recently loaded web page is the access point scanning one.

Whatever is chosen, the user experience of WiFi configuration is still the most important part, but reducing scanning to make the debugging experience better would be really nice. As an aside, it really seems like the scanning should cause hiccups when loading webpages too, but I haven't noticed those.

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

No branches or pull requests

1 participant