This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Sony Xperia Z5 Compact RSSI is null if setReportDelay() is used

Hi together,

I'm trying to scan for BLE Beacons and I got the problem that if I set setReportDelay() to a value unlike zero, the onBatchScanResults() method is called and all RSSI values are null.

If if set setReportDelay() to zero, the onScanResult() method is called and getRssi() works as expected.

I read in another post that some SmartPhones have a bug with batching scanresults. I logged the isOffloadedScanBatchingSupported() and it is true.

So, is the z5 known for that bug or am I doing something wrong?

Best regards, Alexander

  • This is Sony/Android related question. Maybe more Android related forum like xda would be a better place for it?

    From my personal experience Android BLE support is very device dependent and different parts are broken in different ways on different devices. The APIs you mention are known example of that.

  • Hi,

    This seems to be a common bug with the setReportDelay() functionality. On Samsung 6 and 6 Edge packets reported with this mode will show exactly the same RSSI value. It used to be any number, but now it's often a value between -100 and -128.

    So if you want a reliable RSSI measurement, don’t set setReportDelay() to anything else than zero.