Hi,

I trying to make a wifi meter and to get wifi signal strength I'm using the
following code:

WifiManager wifi = (WifiManager)
context.getSystemService(Context.WIFI_SERVICE);
int rssi = wifi.getConnectionInfo().getRssi();

I get values between -40 and -90 when connection is established and -248
when it's not and I'm using a Samsung Galaxy S for testing.

Is -40 and -90 the max and min values for RSSI or will it change in
different terminals? Is -248 also a constant? Are they available on the API?

Thanks,
Pedro Duque

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to