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

Wireless Signal Strength

Announcements of new plugins or updates.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
Rafael
Plugin Author
Posts: 71
Joined: November 22nd, 2005, 7:12 pm
Location: Curitiba, Paran?, Brazil

Wireless Signal Strength

Post by Rafael »

It show your signal strength from your wireless network card.

http://www.freewebs.com/rafaelcamacho/Wireless.dll

How it works?

$dll(Wireless,1,,)

Return the signal strength in dBm.

For example, in my PC:

-53

:D
You do not have the required permissions to view the files attached to this post.

mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

Thanks for this plugin, Rafael! I recently started to use wireless networking and sometimes have problems with signal strength, so this lets me easily keep an eye on the signal.

I notice that you've used "Wireless" (capital W) rather than "wireless". Most of the other plugins use all lower case letters for their name. You must use "$dll(Wireless,1,,)" not "$dll(wireless,1,,)" like I tried first and got the "No Bridge Func" error.

How about seeing if you can also get the connection speed? Function 2 could return "54", "11" etc for the speed in Mbps.

Matt.

Rafael
Plugin Author
Posts: 71
Joined: November 22nd, 2005, 7:12 pm
Location: Curitiba, Paran?, Brazil

Post by Rafael »

Hi Matt...

Sorry, at next time, I will take care of this case... :)

About the connection speed, I can?t, yet, read PDH counters in C#...

So you can obtain this values directly from your WNIC card using PDH counters!! You can check this speed in perfmon.exe utility.

Add a counter, select (in my case: Interface de Rede, in your, must be: Network Adapter), and select you WNIC...

Okay?

:D

grantb3
Posts: 50
Joined: February 10th, 2008, 4:27 pm

Post by grantb3 »

This is a great plugin. Any ideas on how to convert it to bars? First we'd have to deal with the negative number... is there a way to do math like absolute value or subtraction? Plus the closer to zero the higher the SS, correct?

NTM
Posts: 1
Joined: February 25th, 2008, 4:16 pm

Post by NTM »

Would you be willing to share your source code with us maybe?

Rafael
Plugin Author
Posts: 71
Joined: November 22nd, 2005, 7:12 pm
Location: Curitiba, Paran?, Brazil

Re: Wireless Signal Strength

Post by Rafael »

Hi!

This is a very old project! If I found the source, I can put it here. :smt006

Rafael
Plugin Author
Posts: 71
Joined: November 22nd, 2005, 7:12 pm
Location: Curitiba, Paran?, Brazil

Re: Wireless Signal Strength

Post by Rafael »

private DateTime baseUTC = DateTime.UtcNow;


public string function1(string param1, string param2)
{
return Sinal();
}

public int GetMinRefreshInterval()
{
return 300;
}

private string Sinal()
{
string str1 = "root\\WMI";
string str2 = "select Ndis80211ReceivedSignalStrength from MSNdis_80211_ReceivedSignalStrength where active = true";
string str3 = "";
ManagementObjectCollection.ManagementObjectEnumerator managementObjectCollection_ManagementObjectEnumerator = new ManagementObjectSearcher(str1, str2).Get().GetEnumerator();
try
{
bool flag = managementObjectCollection_ManagementObjectEnumerator.MoveNext();
if (flag)
{
str3 = ((ManagementObject)managementObjectCollection_ManagementObjectEnumerator.Current)["Ndis80211ReceivedSignalStrength"].ToString();
break;
}
}
finally
{
bool flag = managementObjectCollection_ManagementObjectEnumerator == null;
if (!flag)
{
((IDisposable)managementObjectCollection_ManagementObjectEnumerator).Dispose();
}
}
return str3;
}
}

vascotech88
Posts: 1
Joined: May 20th, 2010, 12:28 am

Re: Wireless Signal Strength

Post by vascotech88 »

Can somebody upload the DLL file? Because the page doesent exist.

And if somebody knows how to put the result in percentage and in bars, i would appreciate!

Thanks!

valent43
Posts: 7
Joined: September 25th, 2010, 8:57 pm

Re: Wireless Signal Strength

Post by valent43 »

still missing :(

mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Re: Wireless Signal Strength

Post by mattcro »

I've edited the first post and attached the Wireless Signal Strength plugin dll that I got in 2006 from Rafael's site.

Post Reply