I would like to make an ESP8266 connect to one of two possible smartphone access points as fast as possible, once an external input gives the signal to do so. The problem is that it takes too long.
WiFi.scanNetworks() takes 2,1 s Wifi.begin() takes around 2,5s
using the wifi multi sketch takes even longer at around 6 seconds
Is there a faster way to achieve my goals? I would like to get a connection time of 2 s or less