cordova-wifiinfo-plugin

0.1.0 • Public • Published

cordova-wifiinfo-plugin

Cordova plugin based on android.net.WifiInfo, retrives wifiInfo like link speed SSID etc.

Installation

cordova plugin add cordova-wifiinfo-plugin

Usage

 function success(results) {
            console.log(JSON.stringify(results));
          };
  function err(e) {
            console.log(JSON.stringify(e));
          };
 
 WifiInfo.getWifiInfo(success,err);

## Response

{
   MacAddress: "xx:xx:xx:xx:xx:xx",
   BSSID: "xx:xx:xx:xx:xx:xx",
   HiddenSSID: false,
   IpAddress: "x.x.x.x",
 LinkSpeed: 72,
   NetworkId: 5,
   Rssi: -40,
   SSID: "\"xxx_xxx\""
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i cordova-wifiinfo-plugin

      Weekly Downloads

      1

      Version

      0.1.0

      License

      MIT

      Last publish

      Collaborators

      • prerna