Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 1.18 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.18 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)
    • capabilities: Capabilities of this accesspoint (String)