Hello Blynk community
I am trying a different approach. I would like to scan available WiFi networks and if one network matches one of the hardcoded networks then a Wifi connection followed by a Blynk connection must be executed. I looked through the web and through this forum but could not find something that worked the way I needed. My internet searches only indicated code when an esp8266 is used as a stand alone controller or is interfaced with an arduino uno, either case the code would not run on the IDE with the controller selected as the arduino uno. I did come across something on the blynk forum here which was posted by tbdltee:
String APlist = wifi.getAPList();
Serial.print ("AP List:");
Serial.println (APlist);
But this concatenates and prints the combined list of wifi networks in the vicinity. I am looking for a way to test each individual scanned wifi ssid against the my hardcoded ones. Can someone please advise what is the best way to do this.