Bluetooth-LE-Library---Android
Bluetooth-LE-Library---Android copied to clipboard
Beacon Scanning stops after 30 minutes
Beacon Scanning stops after 30 minutes
Probably related to: https://github.com/AltBeacon/android-beacon-library/issues/526
Hmm. Interesting, I didn't know about that 🤔. I'll have a look.
Probably you could also be interested in:
- the source code that applies timeout: https://android.googlesource.com/platform/packages/apps/Bluetooth/+/android-7.0.0_r1/src/com/android/bluetooth/gatt/ScanManager.java#72
- the source code that depicts how android-beacon-library fixed it: https://github.com/AltBeacon/android-beacon-library/blob/70473d7cd7919657344ae08d7b04693db9dab87b/lib/src/main/java/org/altbeacon/beacon/service/scanner/CycledLeScanner.java