机器人 - 如何获得无线SNR(信噪比)? [英] Android - How to get wifi SNR (Signal-to-Noise Ratio)?

查看:2226
本文介绍了机器人 - 如何获得无线SNR(信噪比)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有API来获取在 Android的无线SNR ?从我的搜索迄今只有CellNetwork和GPSSatellite SNR。

Is there any API to get the android WiFi SNR? From my searches so far there's only CellNetwork and GPSSatellite SNR.

推荐答案

基本的答案是,你无法通过Android API得到它。您可能能够通过修改Android的固件或挂接到一个设备特定的驱动程序做了单独的芯片。但是,你应该知道,大多数的WiFi卡,做的不报告的SNR! (链接..)因此,有肯定是没有办法通过Android SDK类来获得SNR,并有可能不是,即使你确实有修改的固件(你不这样做,所有的实际目的)的能力的方式。我经历了所有的Andr​​oid SDK中特定的挖 android.net.wifi 来源并没有发现任何支持这一点。

The basic answer to this question is that you cannot get it via the Android API. You might be able to do it for individual chips by modifying the Android firmware or hooking into a device specific driver. However, you should be aware that most wifi cards do not report SNR! (link..) As such, there is certainly no way to obtain SNR through the Android SDK classes, and there may not be any way even if you do have the ability to modify the firmware (you don't, for all practical purposes). I dug through all of the Android SDK specific android.net.wifi sources and didn't find anything supporting this.

这篇关于机器人 - 如何获得无线SNR(信噪比)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆