Diederik
Diederik

Reputation: 6488

getGsmSignalStrength() return values that are out of range?

We have a requirement for our Android application has to retrieve gsm signal strength values that are greater than -51dBm. However the spec (section 8.5) mentioned in the Android documentation says that the valid return values of getGsmSignalStrength() are only between 0 and 31, mapping to -113dBm and -51dBm. Has anyone seen Android return values greater than 31? If so doesn't that mean Android returns invalid signal strength values?

(99 doesn't count, that means "not known or not detectable")

Any other way of getting a higher reading?

Thanks

Upvotes: 2

Views: 1796

Answers (1)

Salman
Salman

Reputation: 3726

getGsmSignalStrength() actually returns the ASU (Active State Update) value. To get corresponding RSSI in dBm, do RSSI = -113 + 2 * ASU

Upvotes: 1

Related Questions