Zul
Zul

Reputation: 1364

Android - How to get wifi SNR (Signal-to-Noise Ratio)?

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

Upvotes: 3

Views: 6300

Answers (1)

Kristopher Micinski
Kristopher Micinski

Reputation: 7672

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.

Upvotes: 8

Related Questions