Stable Releases:
Source Code:
Also here is a short usage guide
---
The plugin has now been successfully tested for ALL versions of windows, 64+32 bit. If you find any bugs please report them in this thread.
If you have Windows XP SP2, you need to either upgrade to SP3 or install the following hotfix for this plugin to work:
KB918997 ( http://www.microsoft.com/downloads/details.aspx?FamilyId=52A43BAB-DC4E-413F-AC71-158EFD1ADA50&displaylang=en )
---
You can set up a measure like so:
Code: Select all
[MeasureWifi]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=____________
WifiIntfID=Y
WifiListStyle=Z
The WifiListStyle allows you to control what information appears along with the names of all visible networks (returned when WifiInfoType=LIST, see below). This value should be either 0, 1, 2 or 3. This is how the list will show up based on these values:
0: SSID.
1: SSID @band
2: SSID (Encryption:Authentication)
3: SSID @band (Encryption:Authentication)
You can use WifiListLimit to specify how many networks you want to see in the list. Note: The list is sorted in descending order based on the signal quality of each network (i.e. strongest first, weakest last). Valid values are 0 - 2,147,483,648
The WifiInfoType setting allows you to choose between different measures.
Currently the following measures are supported:
SSID (broadcast name for your current connection. If you are still trying to connect, you may see a 'connecting...' or 'authorizing...' next to the name, but only if your update speed is around 2 seconds)
QUALITY (this is a percentage value of the maximum dBm signal strength for your current connection)
ENCRYPTION (the cipher algorithm being used for your current connection. Possible values are: NONE, WEP40, TKIP, AES, WEP104, WPA_GROUP, WEP, ???(unknown) )
AUTH ( the authentication algorithm being used for your current connection. Possible values are: Open, Shared, WPA_NONE, WPA_Enterprise, WPA_Personal, WPA2_Enterprise, WPA2_Personal, ???)
PHY (this shows the supported bands for your connection (NOT your adapter). Possible values are 802.11a, 802.11b, 802.11g, 802.11n, DSSS, FHSSS, IR-Band, ???)
LIST(this shows a list of all visible networks. The list is automatically separated by line-breaks '\n', so each network appears on a separate line. Also next to the network name you will also see its band, cipher, and authentication algorithms.)
Note: The PHY measure will not work properly for any windows XP user (SP2 or SP3). The feature is only supported in the API for Vista or newer systems. All networks will be reported as just 802.11g on XP systems.
--------------------------
Original Post
--------------------------
I was bored so I decided to work on this, turned out to be pretty easy work. So far i am able to obtain signal quality, SSID and encryption type.
I have tested this on WINXP SP2 + SP3. Can someone please try this on Vista and Win7 !
Here are the usage instructions:
Place the dll in your plugins folder and then create a measure like so :WifiInfoType can be either: QUALITY , SSID or ENCRYPTION.Code: Select all
[mWifi] Measure=Plugin Plugin=Plugins\WifiStatus.dll WifiInfoType=[QUALITY][SSID][ENCRYPTION]
Quality is your signal strength (percent from 0-100)
SSID is self explanatory (returns a string)
ENCRYPTION can have the following string output: NONE, WEP, WEP40, TKIP, CCMP, WEP104, WPA
Next Up: AUTH measure, which will give a string for the type of authentication (OPEN/SHARED/WPA)
Feel free to IM about questions / bugs