Background
I was starting to dabble with the WiFi, and I discovered that the standard code for the "ScanNetworks" sketch did not work. I found in the LWiFi library there was a sketch called "ScanNetworks" and decided to give it a try.
Data output
The output of the sketch is a predicable outcome:
scan start
scan end
AP 1: SeenSSIDName1 db=-70
AP 2: SeenSSIDName2 db=-88
Finish
This happens every 5 seconds. I wanted to see if I could expose anything more, but alas, you cannot. I dug around in the library, and there's no more data that can be returned from the simple scan. I was really hoping for the MAC address of the router, but that doesn't seem to be available unless you're actually connected.
Wrap up
The ScanNetworks library is small and simple, and provides you with all the data that can be exposed from a simple wifi scan. I'm still trying to develop a Bluetooth scanner, and work this data into a KML file so that anyone can quickly make heatmaps of the APs and BT devices for Google Earth.
Comments