Method 1: Connecting to the AP
Then using the WiFi.SSID() method. It's pretty fast, but connecting is very slow and fails at longer distances (even when there is still a signal). It also doesn't switch between the different APs.
Method 2: Scanning all networks
In a for loop I can all WiFi networks, and for all the networks with the SSID I am looking for I get the RSSI. I use the highest (closest to zero) one. It works well, but is very slow: ~2.2 seconds
Is there a better method?