justwifi icon indicating copy to clipboard operation
justwifi copied to clipboard

[Question] rescan for better network while connected?

Open foxel opened this issue 5 years ago • 1 comments

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.

foxel avatar Jun 13 '19 04:06 foxel

Also see: https://github.com/xoseperez/espurna/issues/2064 https://github.com/xoseperez/justwifi/compare/master...mcspr:better-networks

From client side, JustWifi will send a message that there are better networks found: https://github.com/xoseperez/espurna/pull/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.

mcspr avatar Jan 29 '20 20:01 mcspr