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

[Question] rescan for better network while connected? #17

Open
foxel opened this issue Jun 13, 2019 · 1 comment
Open

[Question] rescan for better network while connected? #17

foxel opened this issue Jun 13, 2019 · 1 comment

Comments

@foxel
Copy link

foxel commented Jun 13, 2019

Hi.

Is the library doing scan for the best network while still connected?
Example UC: there is a mesh network where APs can go online/offline for maintenance. The areas are overlapping a bit. While connected to distant AP when a closer AP go online I want to automatically reconnect to that closer one.

@mcspr
Copy link

mcspr commented Jan 29, 2020

Also see:
xoseperez/espurna#2064
master...mcspr:better-networks

From client side, JustWifi will send a message that there are better networks found:
xoseperez/espurna#2088
After we disconnect, connection routine will pick the best network which we found with periodic scanning

I need to look at it again in regards to state consistency (and it cannot lock things in some weird state). Also sorry for a bit of a large patch size, but I got annoyed mid change about struct management.

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

2 participants