Occasionally the following code running on an ESP8266 logs duplicate SSIDs:
B4X:
Dim numberOfNetworks As Byte = wifi.Scan
Log("Found ", numberOfNetworks, " networks")
For c = 0 To numberOfNetworks - 1
Log("SSID: ", wifi.ScannedSSID(c), "|RSSI: ", wifi.ScannedRSSI(c))
Next
I now realise that these are not false duplicates, but just access points with the same SSID and different MAC addresses, which I can see by revising the code:
B4X:
Dim numberOfNetworks As Byte = wifi.Scan
Log("Found ", numberOfNetworks, " networks")
For c = 0 To numberOfNetworks - 1
Log("SSID: ", wifi.ScannedSSID(c), "|MAC: ", bc.HexFromBytes(wifi.ScannedBSSID(c)), "|RSSI: ", wifi.ScannedRSSI(c))
Next