gmag11/WifiLocation

Return the names of the detected SSIDs

probonopd opened this issue · 2 comments

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.

You can use getSurroundingWiFiJson() but internally it scans networks.

You may use WiFi.SSID(index) to get last scan result.

Thank you. Maybe this could be documented/shown in an example sketch.