New issue
Advanced search Search tips

Issue 868427 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

navigator.bluetooth.requestDevice cannot filter device which advertise serviceUUID in SCAN_RSP

Reported by mich...@mommosoft.com, Jul 27

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15

Steps to reproduce the problem:
1. call navigator.bluetooth.requestDevice with filters:[ {services: [ uuid128] }]

What is the expected behavior?
filter out the BLE device

What went wrong?
nothing found

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 67.0.3396.99  Channel: n/a
OS Version: OS X 10.13.6
Flash Version:
 
index.html
120 bytes View Download
program.js
855 bytes View Download
Screen Shot 2018-07-27 at 19.52.52.png
28.6 KB View Download
Screen Shot 2018-07-27 at 19.53.19.png
37.1 KB View Download
Also device address is not right extracted.
You can see it shows E4:F8:5D:3A:D2:29, but actually it is D0:AC:66:96:F7:DE.
I don't know why the device is not being found, but the address is expected to be different on macOS. macOS does not provide the actual MAC address of LE devices.
Labels: Needs-Triage-M67
Labels: Needs-Feedback
Owner: reillyg@chromium.org
Status: Assigned (was: Unconfirmed)
Can you click on "Inspect" in chrome://bluetooth-internals and attach a screenshot of the services detected on the device?
Have in mind that I am advertising with white list. Service uuid is send only if scan request is made, because in advertising packet there is no free space for 128 uuid.
It is filtered out by Android and iOS API.
Screen Shot 2018-08-02 at 15.10.34.png
145 KB View Download
it is a BLE device.
Hmmmm even if the UUIDs are in the scan request, the device should appear. We take both the regular adv. packet and the scan request into consideration when showing a device. 

Logs would be really useful! Instructions at: https://www.chromium.org/developers/how-tos/file-web-bluetooth-bugs

Sign in to add a comment