I am capturing the RSSI values of LTE signals using the below code:

cInfoList = telephony_manager.getAllCellInfo()for (CellInfo info : cInfoList){
    if (info instanceof CellInfoLte) {
        CellSignalStrengthLte signalstrength_lte = ((CellInfoLte) 
info).getCellSignalStrength();
        displayAsu.setText(signalstrength_lte.getAsuLevel() + "");
        displayDbm.setText(signalstrength_lte.getDbm() + "");
    }}

(*note: I just simplified my code: for-loop doesn't override text fields.)

In one phone (LG G4) I am getting meaningful vales: *Asu_level=32, dbm=-108*

But in another phone (Samsung Galaxy S6) I am getting invalid values: 
*Asu_level=97, 
dbm=1022*

In Samsung phone's Settings->AboutPhone->Status->SignalStrength I see *-107dBm 
33 asu* (which make sense)

*LG G4: Android 5.1, API 22* and *Samsung Galaxy S6: Android 5.0.2, API 21*

Why does the same code show different behaviors (Asu levels) on different 
phones?? 

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3c8339b4-40d3-4de4-8188-0f05d0f9b91a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to