New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 869666 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner: ----
Closed: Aug 2
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Unable to connect to device while scanning

Project Member Reported by sonnysasaka@chromium.org, Jul 31

Issue description

Repro steps:

bluetoothctl
[bluetooth]# scan on
[bluetooth]# connect XX:XX:XX:XX:XX:XX
[bluetooth]# scan off
[bluetooth]# connect XX:XX:XX:XX:XX:XX

Assume XX:XX:XX:XX:XX:XX is an already paired device. Connect will fail for the first one (before scan off) but succeed for the second one (after scan off).


 
Hi Sonny, would you please add more contexts about this issue? For example, 
- What device type, audio or HCI types, is used in your test? 
- Is it BR/EDR or LE? 
- And what is impact of this symptom?

The following is just for the record.
I conducted the test with a LE mouse. The scanning operations look like
- scanning is going on for 10 seconds
- scanning is paused for 4 seconds
And the above operations repeat. During the pause period, the connection could be made.
Hi Joseph,

Here are more information:
- The device type is BREDR, tested with headphones.
- The scanning that affects the issue can be BREDR, LE, or dual.
- The impact is that user cannot connect to headphones while bluez is doing scanning.
- This is confirmed to be reproducible in eve and chell, and confirmed to be not reproducible in peppy and minnie. Looks like there is correlation with Intel chip. (Also reproducible in a non-chromebook laptop running Ubuntu 16.04 using Intel BT chip).
Thanks Sonny for the information! Is this reproducible when using Chrome UI to connect to a device?
Hi Joseph,

Yes, it's reproducible with Chrome UI. But the problem with Chrome UI is that you can't unreproduce it, i.e. you can't stop scanning if you are using Chrome UI. When you open the system tray or chrome://settings Bluetooth page, scanning is automatically started, if you wait a few seconds scanning will eventually stop and then you can connect to headphones.
Cc: harpreet@chromium.org
Cc: pbath...@chromium.org
Mergedinto: 523176
Status: Duplicate (was: Untriaged)

Sign in to add a comment