Return the names of the detected SSIDs
probonopd opened this issue · 2 comments
probonopd commented
It would be nice if ESPWifiLocation could return to the sketch the names of the detected SSIDs. My sketch, for example, needs to check for the presence of a certain SSID. Of course I could do just another scan in my sketch, but that is wasteful in terms of energy consumption and time needed since ESPWifiLocation is doing a scan already.
gmag11 commented
You can use getSurroundingWiFiJson() but internally it scans networks.
You may use WiFi.SSID(index) to get last scan result.
probonopd commented
Thank you. Maybe this could be documented/shown in an example sketch.