Android ranging not works properly

I am getting duplicate values on ranging when phone is idle.For example, The same rssi value received -90 upto 10-15 times and in some mobiles getting log like lollipopadapter error.

Could you explain your issue in more detail? I don’t see any issues with receiving the same RSSI value if your device is sitting in the same position (I would think that would be good!).

This usually means there were no new packets received by the smartphone, so it keeps reporting “cached” data. Are you on the default scan settings (setForegroundScanPeriod)?

BTW, the ranging API is deprecated, so consider switching to our new Proximity SDK instead: