AltBeacon / android-beacon-library

Allows Android apps to interact with BLE beacons
Apache License 2.0
2.85k stars 837 forks source link

If you are using BOSE bluetooth headphones, a ranging delay is detected while the music is on. #946

Open Bibi-byte opened 4 years ago

Bibi-byte commented 4 years ago

Expected behavior

While listening to music with BOSE bluetooth headphones, the scanning of the beacons keep on.

Actual behavior

The scan is set every 1100ms, but the scan of the beacons while listening to music has a delay of 20 30 seconds.

Steps to reproduce this behavior

Hi! I have done many tests with different devices without problems. But Samsung continues to have delays in the scan. Thanks!

davidgyoung commented 4 years ago

I suspect this is not necessarily specific to BOSE bluetooth headphones, but is instead a general problem on the Samsung S9 (and perhaps related devices) whenever any bluetooth headset is connected and active. If so, this indicates either a hardware issue or an issue with the bluetooth stack on the device. While it is worthwhile documenting the resulting behavior for the sake of other people who encounter this, I don't think it is anything this library can do to solve these problems.

Bibi-byte commented 4 years ago

Hi! I have tested others headphones, but delay only happens with BOSE bluetooth headphones more... For others, the delays are 3-4 seconds for BOSE, 20-30 seconds. Could it be their combination?

davidgyoung commented 4 years ago

What specific model of headphones is this? Does it specify it uses a Bluetooth LE audio profile vs. Classic Bluetooth?

On Thu, Feb 6, 2020, 07:44 BibiC notifications@github.com wrote:

Hi! I have tested others headphones, but delay only happens with BOSE bluetooth headphones more... For others, the delays are 3-4 seconds for BOSE, 20-30 seconds. Could it be their combination?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AltBeacon/android-beacon-library/issues/946?email_source=notifications&email_token=AAH7C4MYYIV3CYWIW2DVUZLRBPSZ5A5CNFSM4KOH2DGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK6X53A#issuecomment-582844140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH7C4J26KPRKFMSC66N4XLRBPSZ5ANCNFSM4KOH2DGA .

Bibi-byte commented 4 years ago

@davidgyoung BOSE soundSport model 423729, it uses Classic Bluetooth!

In LogCat I observe that didDetermineStateForRegion method return OUTSIDE when there is a delay, after 20-30 second return INSIDE and scan begins again.