Cordova interface for android.net.wifi.WifiManager to list available access points and their signal strengths.
This plugin is based on the structure of the Device-Motion plugin and exposes a similar API.
cordova plugin add nl.nielsad.cordova.wifiscanner
- Android
- navigator.wifi.getAccessPoints(successCallback, errorCallback)
- navigator.wifi.watchAccessPoints(successCallback, errorCallback, options)
- navigator.wifi.clearWatch(id)
For more information, see the documentation of the Device-Motion plugin.
- AccessPoint (see android.net.wifi.ScanResult)
- BSSID: Address of the access point (String)
- SSID: Network name; (String)
- level: RSSI (Number)
- capabilities: Capabilities of this accesspoint (String)