-
Notifications
You must be signed in to change notification settings - Fork 387
Try finding best BSSID for a SSID #1688
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
base: main
Are you sure you want to change the base?
Conversation
Mutex instead of waiting cycle? |
All the waiting is useless. The scan is actually only done inside "wifi_sta_connect(&connect, &scan_cfg);" I'm actually trying to use a global pointer for connect.bssid and, if a BSSID is found, setting this pointer.
So I hope to be able to set SSID before AP is selected inside wifi library ... I hope to be able to do some test later today |
I'm running out of ideas, the scan-callback is not always called/finished before the library tries joining
So this shows:
Will continue next days... |
A try to address #1684
NOT tested. If it works as expected, it should log the best AP for a SSID (on UART).
If it works as expected, I coud try to set BSSID for the "wifi_sta_connect()"-call.
So if there is anybody able to test this PR? @divadiow ?