I'm building a Node application for the Edison and I'm looking for the best way to scan nearby WiFi networks and parse them into a JSON list with each item containing the SSID & Security Type.
I've looked at the edison-config-server.js and see that it returns a networks.txt file when doing the OneTimeSetup however I can't find what populates this list and how I can manually populate it.
Thanks in advance for any help!
The Wifi reference guide would help.
I will quote some section
To display the list of configured networks, enter the following:
$ wpa_cli –i wlan0 scan
$ wpa_cli –i wlan0 scan_results
Retrieving data ...