by shadowpho · 1y ago · 0 comments
No! You as programmer control that. You can configure to connect to any AP you want.
My code does a scan and save the closest AP. If it can’t connect it does another scan and saves a new AP
Every AP has a bssid (MAC address) that you can use to connect to specific AP.
It’s up to the code to figure out which one to connect to. The libraries have all the options.
When you do a scan you get bssid of the AP and strength of each signal. You can make a determination of when to rescan and reconnect.
How would it know to reconnect to stronger AP?
You can order it to do a background scan and reconnect to stronger AP if you want, but you have to figure out how often to do this and how to interleave other data during the scan.