parses iwlist output on linux computers. tested on raspberry pi running raspbian (debian)
@substack wrote this for hacking into flying robots but told me to publish it to github and npm because he was busy
npm install iwlist
var iw = require('iwlist')('wlan0')
returns list of nearby wireless networks sorted by signal strength (high to low)
joins a wireless network by ESSID
disconnects from the current network. callback not implemented yet but it returns the spawned child process stream for iwconfig
note: this doesnt seem to work on raspbian
cb takes (err, associated) where associated is true if the computer is currently connected to a wireless access point
tries to resolve google.com and calls the callback with (err). if there is no err it means you are online
BSD LICENSED