webbluetooth: requestDevice filter does not find Heart Rate belt

I am trying to connect to a Polar HR belt using the example code (heartrate.js).

But actually request device does not seem to find any device by the serviceUUID. I checked this in nRF connect and the service UUID seems to be advertised properly, not to mention that any other device is able to find it (even webbluetooth in chrome)

Image

EDIT:

I am on linux

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

I have the same abort error for every version. I will run a more detailed logging to check where exactly things fail over the weekend.

I am not able to do the test with noble as the noble.state returns “unknown” in the adapter’s startScan method after calling init.

Bluetooth service is running:

● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; preset: enabled)
     Active: active (running) since Mon 2025-02-17 15:07:07 CET; 2min 39s ago
       Docs: man:bluetoothd(8)
   Main PID: 31783 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 3929)
        CPU: 81ms
     CGroup: /system.slice/bluetooth.service
             └─31783 /usr/libexec/bluetooth/bluetoothd

If I stop this service, the noble.state returns “powerOff”.

Native web bluetooth (navigator.bluetooth) works in chrome yes. This device is found as a HRM.