hoerresb / WifiWizard

A Cordova plugin for managing Wifi networks
Apache License 2.0
205 stars 178 forks source link

RSSI Value #92

Open thezachcannon opened 8 years ago

thezachcannon commented 8 years ago

I was wondering what is the range used for RSSI in this plugin. Is it 0-100? Also any support for dbm?

rkurbatov commented 8 years ago

@thezachcannon range is in dbms (negative values). To convert to 0..100 quality I use following scheme:

< -100 dbms is 0 quality
> -50 dbms is 100 quality
otherwise quality = 2* (dbm + 100)
mfread commented 7 years ago

Hi all. I can successfully get the SSID of the wifi network my Android device is connected to (with WifiWizard.getCurrentSSID), but how do I go about getting other network details of my current wifi connection like RSSI (signal strength), link speed, security/cypher/encryption, and my IP address?

@parsonsmatt - I'd like to see some functions that enable these activities, like getConnectedRSSI(), getConnectedLinkSpeed(), getConnectedSecurity() and getConnectedIPAddress().

If I had a clue how to program a plug-in I'd offer to help but alas I've no idea; I'm a mid-level HTML5/CSS/Javascript monkey.

Thanks in advance. Mark

tr00869963 commented 7 years ago

@SEOGuy Hello,I want to get SSID and router mac address but I don't know how to use plugin.Can you give me a demo ionic app please?