1. Download our Official Android App: Forums for Android!

Apps How to get the WiFi noise level in Android?

Discussion in 'Android Development' started by Cosmin Telescu, Aug 10, 2017.

  1. Cosmin Telescu

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Aug 10, 2017

    Aug 10, 2017
    2
    0
    5
    Male
    I want to implement an app which measures the quality of the WiFi signal from an indoor environment. From my research I found that the best way to get an accurate measurement is not to get only the RSSI but instead to use the SNR (Signal to Noise Ratio).

    How can I obtain the noise level from the Android SDK? As I heard, there is no API available for this. However, I've found a method which provides the SNR (getEvdoSnr()). Unfortunately, this one works only for a GSM/CDMA signal and not for a WiFi connection.

    Is anything possible to calculate the SNR in Android? I believe that's doable because I've found an app on Play store (called WiFi SNR) which successfully measures this ratio.


    NOTE: The Android ScanResult doesn't provide the noise level, even if it's specified in the official documentation:
     

    Advertisement

    #1 Cosmin Telescu, Aug 10, 2017
    Last edited: Aug 11, 2017
  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,456
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,456
    10,741
    1,988
    Male
    Software developer
    South West of England
  3. Cosmin Telescu

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Aug 10, 2017

    Aug 10, 2017
    2
    0
    5
    Male
  4. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,456
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,456
    10,741
    1,988
    Male
    Software developer
    South West of England
    Yes I saw that. Obviously technically possible then, but what I meant was that there's no interface on the Android SDK. It's probably accessible via some low level O/S interface, using a native API, but sorry, I have no idea where to look for this.
     

Share This Page

Loading...