Networking Forums

Networking Forums > Computer Networking > Linux Networking > Reading 802.11b/g signal strength (SNR)

Reply
Thread Tools Display Modes

Reading 802.11b/g signal strength (SNR)

 
 
Luke Andy
Guest
Posts: n/a

 
      08-04-2005, 04:14 PM
Is there a set of API functions in Linux, QNX and/or Windows to read signal
strength (SNR) of the 802.11b/g ?

Luke


 
Reply With Quote
 
 
 
 
Floyd L. Davidson
Guest
Posts: n/a

 
      08-05-2005, 03:07 AM
"Luke Andy" <(E-Mail Removed)> wrote:
>Is there a set of API functions in Linux, QNX and/or Windows to read signal
>strength (SNR) of the 802.11b/g ?


Note that "signal strength" is *not* "SNR". SNR stands for
Signal to Noise Ratio, and is expressed in dB, while signal
strength is expressed in -dBm.

--
Floyd L. Davidson <http://www.apaflo.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) (E-Mail Removed)
 
Reply With Quote
 
Hoss
Guest
Posts: n/a

 
      08-05-2005, 06:51 AM
"Luke Andy" <(E-Mail Removed)> wrote:
> Is there a set of API functions in Linux, QNX and/or Windows to read
> signal strength (SNR) of the 802.11b/g ?


For windows, you can get this through WMI (do a search for "WMI wireless
signal strength" or something like that). I've used this on my PC based
robots, works good.

-Hoss


 
Reply With Quote
 
Luke Andy
Guest
Posts: n/a

 
      08-06-2005, 12:44 PM
Hoss,

Would it be too much to ask if you could share related bits of your code
with us, so that we learn from your experience?

>> Is there a set of API functions in Linux, QNX and/or Windows to read
>> signal strength (SNR) of the 802.11b/g ?

>
> For windows, you can get this through WMI (do a search for "WMI wireless
> signal strength" or something like that). I've used this on my PC based
> robots, works good.
>
> -Hoss
>



 
Reply With Quote
 
Hoss
Guest
Posts: n/a

 
      08-07-2005, 04:54 AM
"Luke Andy" <(E-Mail Removed)> wrote:
> Hoss,
>
> Would it be too much to ask if you could share related bits of your code
> with us, so that we learn from your experience?
>
>>> Is there a set of API functions in Linux, QNX and/or Windows to read
>>> signal strength (SNR) of the 802.11b/g ?

>>
>> For windows, you can get this through WMI (do a search for "WMI wireless
>> signal strength" or something like that). I've used this on my PC based
>> robots, works good.
>>
>> -Hoss


This is what I used in a VB6 app.

Private Sub Timer1_Timer()
Set nicset =
GetObject("winmgmts:{impersonationLevel=impersonat e}!root/wmi").InstancesOf("MSNdis_80211_ReceivedSignalStre ngth")
On Error GoTo no80211Error
For Each nic In nicset
SignalStrengthValue = Right(nic.Ndis80211ReceivedSignalStrength,
Len(nic.Ndis80211ReceivedSignalStrength) - 1)
If SignalStrengthValue <> "" Then
SendText ("S=NetSignalStrength~" & SignalStrengthValue)
End If
Exit For
Next
nicset = Nothing
Exit Sub

no80211Error:
SendToConsole "No 802.11 network adapters found"
Timer1.Enabled = False
End Sub


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
signal quality mis-reading Timbo Wireless Internet 1 02-06-2008 03:19 AM
wireless signal strength (more accurate reading than windows) Darren Wireless Internet 1 09-12-2006 03:58 PM
System Tray Signal Strength -vs- Wireless Properties Strength Scott Wireless Networks 1 04-07-2005 10:17 PM
signal strength remyers Broadband Hardware 1 07-21-2004 10:35 AM
Low Signal Strength Ed. Wireless Networks 0 07-04-2004 07:19 PM



1 2 3 4 5 6 7 8 9 10 11