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

Issue 606988 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Not currently working on Chromium
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 436283



Sign in to add a comment

bluetooth: GATT Server is undefined.

Project Member Reported by ortuno@chromium.org, Apr 26 2016

Issue description

From: https://github.com/WebBluetoothCG/web-bluetooth/issues/232

After .requestDevice, I'm unable to get server out of next promise. Would love advice about what is happening. Thanks in advance!

navigator.bluetooth.requestDevice({filters: [{namePrefix: ['BB']}]})
  .then(device => {
    //I am getting device object here
    return  device.gatt.connect();
  })
  .then(server => {
    //server coming back undefined.
    server.getPrimaryService("22bb746f-2bb0-7554-2d6f-726568705327");
  });
 

Comment 1 by ortuno@chromium.org, Apr 26 2016

Questions:

1. What platform is this happening in?
2. What Chrome version do you have?
3. Could you include some logs? Please see https://www.chromium.org/developers/how-tos/file-web-bluetooth-bugs

Thanks so much for your help. We actually finally managed to get it working. The work you guys are doing is fantastic.

Comment 3 by ortuno@chromium.org, Apr 28 2016

Status: WontFix (was: Unconfirmed)
Great! Feel free to open an issue if you run into any problems or have suggestions.

Comment 4 Deleted

I have the same problem.

1. Platform : Mac OSX 10.11.5
2. Chrome version :  Chrome 55.0.2883.95 (same problem on Chrome Canary 57.0.2970.0)
3. You can find a log file in attachments 

Thank you :-)
logfile
21.8 KB View Download
Hello Fabien,

Could it be that the TGV Bluetooth Device is NOT a Bluetooth Low Energy device but a Bluetooth Classic device?
Owner: scheib@chromium.org
Status: Unconfirmed (was: WontFix)
Also, would you post your JavaScript that corresponds with those logs?
Cc: hdodda@chromium.org
Labels: Needs-Feedback
Hello ! 

It's really a BLE device, I managed to get it working too. Thank you guys !
Labels: -Needs-Feedback
Status: WontFix (was: Unconfirmed)
That's great to hear.
Just for the record, how did you fix it?

Sign in to add a comment