ReactiveBeacons icon indicating copy to clipboard operation
ReactiveBeacons copied to clipboard

Scan speed

Open juliocbcotta opened this issue 7 years ago • 1 comments

I tried both (Pre Lollipop and Lollipop) strategy and I found that the Pre Lollipop version receives much faster updates from the same device. Is there any reason for that?

juliocbcotta avatar Mar 21 '17 01:03 juliocbcotta

Hi,

Thanks for reporting that issue. I haven't performed any speed or performance measurements regarding using different strategies. I don't know anything related to change of the scan speed. I know that in Android Lollipop, API for BLE was updated. Maybe newer Android version has less performant implementation or I did something wrong or I missed something during creating Observable. Fortunately, the library allows using different strategies, so you can use PreLollipop strategy on Lollipop or newer device. Nevertheless, Google probably will deprecate old approach in the incoming releases. This may be an issue related to Android SDK.

Regards, Piotr

pwittchen avatar Mar 21 '17 15:03 pwittchen