Several Wi-Fi Access Points

Hi!

How to make several attempts to connect to different Wi-Fi Access Points?
Just in case one appeared offline or you should move device between locations.

Thanks.

Just make a failsafe.

if (Blynk.connected() == false) {
   reconnect() ;
} 
void reconnect() {
  int tryCount = 0;
  while(Blynk.connected() == false) {
     Blynk.begin(auth, ssid, pswd, localserver) ;
     if (Blynk.connected() == false && tryCount == 0) {
        ssid = "xxxxxxxxx" ;
        pswd = "xxxxxxxxxx" ;
        tryCount++;
    } 
// add other ssid and password in a new if statement with tryCount == 1 and so further. 
} 

Something like this?