I want write a program to scan the MAC addresses of the WIFI routers.
ScanNetworks works perfectly, but it doesn't read MAC addresses (BSSID).
On this page, Arduino - WiFiBSSID, we can see that the BSSID of the router is available only if the Edison is connected to this network.
I hope to be clear this time, sorry for my poor english :s
I didn't find a way to check the MAC address of the networks available using the WiFi library for Arduino IDE. However, I was able to check them using the Linux command iwlist. You can use the following command to check the statistics of the networks around:
iwlist wlan0 scan
I wrote a Python script to scan the MAC address of the networks available. It uses the iwlist command, but it only shows the SSID and the MAC. You might find it useful. You can check the script here: makers-examples/ScanMAC.py at master · MakersTeam/makers-examples · GitHub
Let me know if it works for you.