测量“真实”手机上的电话信号强度

发布于 2024-08-13 02:27:35 字数 618 浏览 6 评论 0原文

我想以编程方式测量手机中的电话信号强度。我实际上并不关心手机或编程环境:它可以基于android或windows mobile甚至J2ME,并且可以来自任何制造商(请不要iPhone)。然而,它需要是真正的商用手机,而不是特殊的测量设备。

这个问题并不像乍看起来那么容易。我知道已经存在许多声称可以返回电话信号强度的方法。其中一些 是:

  • WM6 的 SystemState.PhoneSignalStrength
  • WinCe 的 RIL_GetCellTowerInfo (返回的 RILCELLTOWERINFO 结构的 dwRxLevel 成员)
  • android.telephony.NeighboringCellInfo.getRssi() for android

上面的问题是它们只返回一些(10 以下)离散值,这意味着,例如, SystemState.PhoneSignalStrength 的返回值只能转换为(例如)-100 dbm、-90 dbm、-80 dbm、-70 dbm 和 -60 dbm,这对我的应用程序没有用处,因为我希望有尽可能高的精确度。

如果有一个仅适用于一部手机的未记录的解决方案也没关系,如果您能告诉我一种方法,我将不胜感激。

提前致谢

I want to programmatically measure the phone signal strength in a mobile phone. I don't actually care about the mobile phone or the programming environment: It can be based on android or windows mobile or even J2ME and can be from any manufacturer (please no iPhone). However, it needs to be a real, commercial mobile phone and not a special measurement device.

This problem is not as easy as it seems with a first look. I am aware that there already exist a number of methods that claim to return the phone signal strength. Some of these
are:

  • SystemState.PhoneSignalStrength for WM6
  • RIL_GetCellTowerInfo for WinCe (dwRxLevel member of returned RILCELLTOWERINFO struct)
  • android.telephony.NeighboringCellInfo.getRssi() for android

The problem with the above is that they only return a few (under 10) discrete values, meaning that, for instance, the return values of SystemState.PhoneSignalStrength can only be translated to (for instance) -100 dbm, -90 dbm, -80 dbm, -70 dbm and -60 dbm, something that is not useful for my application, since I'd like to have as much precision as possible.

It doesn't matter if there is an undocumented solution that only works on only one phone, if you can tell me a way I'd be grateful.

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

幼儿园老大 2024-08-20 02:27:35

请查看有关 Java ME 的 JSR-256 移动传感器 API。诺基亚 S60 第五版设备支持此 API。您可以通过该API查看网络信号强度。但是,最好先从诺基亚论坛询问其详细程度。

Please check about JSR-256 Mobile Sensor API for Java ME. Nokia S60 5th edition devices support this API. You can check about network signal intensity by using this API. But, it might be good to ask it's granularity from Nokia Forum first.

栀子花开つ 2024-08-20 02:27:35

这是我为仍在寻找答案的人找到的解决方案:

一些Windows Mobile HTC手机有一个名为fieldtest.exe的程序,其中包含我需要的信息(可能其他手机也有,我只测试了特定的HTC,但从谷歌搜索我了解到大多数 HTC WM 手机都是它)。现场测试程序不仅具有电话的准确信号强度,而且还具有大量其他非常有用的电话信息,否则无法获得。

唯一的问题是如何在进程中使用该程序的数据,因为所有值都存储在 ListView 中。

好吧,这就是我发布的另一个问题的要点。

因此,解决方案是运行 fieldtest 程序并从那里提取/窃取所需的值!

Here's a solution I found for people who are still looking for an answer:

Some windows mobile HTC mobile phones have a program called fieldtest.exe which contains the information I need (probably other phones also have that, I've only tested with a specific HTC but from search on google I understand that most HTC WM phones it). The fieldtest program not only has the exact signal strength for the phone, but also a big amount of other very useful telephony information not accessible otherwise.

The only problem is how can you use the data of that program in your process since all the values are stored in a ListView.

Well, that was the point of another question I had posted.

So, the solution is to run the fieldtest program and extract / steal the required values from there !

九命猫 2024-08-20 02:27:35

有一个很好的教程解释了如何获取手机测量的真实 GSM 信号
试试这个教程:

http://www.firstdroid .com/2010/05/12/get-provider-gsm-signal-strength/

希望有帮助,

阿德里安。

There is a good tutorial that explains how to get the Real GSM signal measured by your phone
Try this tutorial:

http://www.firstdroid.com/2010/05/12/get-provider-gsm-signal-strength/

Hope it help,

Adrian.

总攻大人 2024-08-20 02:27:35

在 WindowsCE 平台上这可能很困难。我工作的最后一个平台使用了西门子调制解调器,我可以直接访问并从中获取他们自己的信息。然而,自从他们上次固件更新以来,他们现在关闭了此功能并迫使我通过 RIL。

我猜您可能必须找到带有特定调制解调器的特定设备。不过我不知道有什么特别的。对不起。 :(

On WindowsCE platforms this might be tough. The last platform I worked on used a Siemens modem which I could directly access and get their own information from. However since their last firmware update they've now closed this off and forced me to go via RIL.

I'm guessing you might have to find a particular unit with a particular modem. However I don't know of any in particular. Sorry. :(

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文