3G Signal Strength on Windows (Desktop)

ぐ巨炮叔叔 提交于 2020-01-07 01:52:27

问题


I'm trying to get the signal strength for a 3G connection in a .NET application with the following method: http://msdn.microsoft.com/en-us/library/windows/desktop/dd323166(v=vs.85).aspx

The .NET wrapper returns a uint between 0 and 31. I usually get values between 0 and 4 from the method which translates to -113 dBm and -105 dBm values which would indicate a very weak signal, even though the connection is pretty fast and the connection icon on the Windows task bar shows 4-5 white bars.

What am I doing wrong? What's the proper way of determining the signal strength on a Windows desktop application in .NET?


回答1:


You probably aren't doing anything wrong, Microsoft is though.

Your connection is 3G you say, but the Microsoft scale is based on GSM (2G). GSM gives a connection down to -113 dBm, but UMTS gives a connection down to -120 dBm. A different parameter is being measured as well, which makes the Microsoft implementation even less valid.

If we believe the Microsoft scale, your values of 1 - 4 are about -111 to -105 dBm.

In UMTS, this is quite a respectable signal.



来源:https://stackoverflow.com/questions/19040252/3g-signal-strength-on-windows-desktop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!