-
Notifications
You must be signed in to change notification settings - Fork 839
Description
Expected behavior
Consistent iBeacon observations ranged
Actual behavior
When scanning on a 6.0.1 and 5.1 device at 10Hz with beacons running at 10Hz observations are frequently missed, sometimes for multiple seconds.
This behavior is not observed on 7.1 device (Pixel).
The same code was ran on three devices gathering time and strengths of beacon range entries.
The following is a table summarizing the time difference (in ms) between successive observations
μ | σ | L∞ | |
---|---|---|---|
Droid Turbo | 301 | 633 | 10547 |
MotoE | 525 | 483 | 4922 |
Pixel | 173 | 79 | 560 |
Further when I test with my own beacon parser (using BluetoothLeScanner.StartScan
), I get behavior consistent with 7.1 device on the 6.0.1 device.
To me this indicates it isn't hardware issue.
Maybe I am missing a configuration step somewhere?
Steps to reproduce this behavior
Have an iBeacon within range
set foreground scan period to be 100ms
set foreground between scan period to be 0ms
record beacon as they come into the RangeNotifier object
If needed I can send code to stimulate this issue.
Mobile device model and OS version
Encountered on:
- Droid Turbo 6.0.1
- Moto E 5.1
Android Beacon Library version
2.9.2
IMPORTANT: This forum is reserved for feature requests or reproducible bugs with the library itself. If you need help with using the library with your project, please open a new question on StackOverflow.com.