Bluetooth-LE-Library---Android icon indicating copy to clipboard operation
Bluetooth-LE-Library---Android copied to clipboard

Beacon Scanning stops after 30 minutes

Open Eljoy opened this issue 5 years ago • 3 comments

Beacon Scanning stops after 30 minutes

Eljoy avatar Sep 25 '20 17:09 Eljoy

Probably related to: https://github.com/AltBeacon/android-beacon-library/issues/526

Eljoy avatar Sep 28 '20 10:09 Eljoy

Hmm. Interesting, I didn't know about that 🤔. I'll have a look.

alt236 avatar Sep 29 '20 08:09 alt236

Probably you could also be interested in:

  1. 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
  2. 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

Eljoy avatar Sep 29 '20 08:09 Eljoy