Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

New Wifi plugin

Announcements of new plugins or updates.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
cosenodefi
Plugin Author
Posts: 37
Joined: December 10th, 2007, 5:40 pm
Location: Zaragoza (SPAIN)

New Wifi plugin

Post by cosenodefi »

Hi, everyone.

This is a wifi plugin for LCDSmartie, capable to get several info about the wifi adapters installed in the system. It relies on WMI service, anda works querying the 'root/wmi' namespace on the local machine. The classes used to get the info are this ones:

MSNdis_80211_ReceivedSignalStrength - Properties: Active, InstanceName, Ndis80211ReceivedSignalStrength (in dBm)
MSNdis_80211_TransmitPowerLevel - Properties: Active, InstanceName, MSNdis_80211_TransmitPowerLevel (in mW)
MSNdis_MediaConnectStatus - Properties: Active, InstanceName, NdisMediaConnectStatus (O = NdisMediaStateConnected, 1 = NdisMediaStateDisconnected)

The plugin was tested on XP Home (SP3) and XP Pro (SP3), with a USB wifi adapter (based on Realtek RL8187L) and the Acer Aspire One wifi adapter (Based on a Broadcomm chipset) and runs fine. It uses a INI (an example is provided) file to configure the settings, and has two functions:
  • Function 1 - Data retrieval
    Syntax: $dll(mywifi, 1, <param1>, <param2>);
    The parameters are:
    <param1>... Number of the class instance (object / wifi adapter, usually = 1)
    <param2>... Property to be retrieved. The values:
    • 1 = Active (TRUE or FALSE)
    • 2 = Retrieves the Instance name
    • 3 = Retrieves the signal strength in dBm (*)
    • 4 = Rerieves the radiation power in mW
    • 5 = Retrieves the status (0= Connected, 1 = Not connected)
    Function 20 - About Info
    Syntax: $dll(mywifi, 20,,);
    The parameters are ignored.

    (*) Please, note that signal strength is given in mW, in negative values. So , a signal of -35dBm is stronger than a -48dBm one.
Some use examples:

Trying to get the signal strength of the first instance/adapter
$dll(mywifi,1,1,3);
$dll(mywifi,1,,3); // Using default

Trying to get the name of the second adaptor
$dll(mywifi,1,2,2);
$dll(mywifi,1,2,); // Using default
You do not have the required permissions to view the files attached to this post.

Post Reply