Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.11 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.11 KB

cordova-wifiscanner

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.

Installation

cordova plugin add nl.nielsad.cordova.wifiscanner

Supported Platforms

  • Android

Methods

  • 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.

Objects

  • AccessPoint (see android.net.wifi.ScanResult)
    • BSSID: Address of the access point (String)
    • SSID: Network name; (String)
    • level: RSSI (Number)