[web-bluetooth] No iBeacon data from WatchAdvertisements() (#589)

noahbaron has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth:

== No iBeacon data from WatchAdvertisements() ==
Platform: Mac OS 11.3.1 (Big Sur)
Chrome: Version 102.0.5005.115 (Official Build) (x86_64)

I'm trying to read iBeacon data using a combination of manufacturer's data filtering, requestDevice and WatchAdvertisements() samples. Unfortunately no manufacturer's data is showing up when I select my iBeacon device. Below is a comparison of different methods used. Is this intentional? I only used the official examples here (https://googlechrome.github.io/samples/web-bluetooth/watch-advertisements.html) and here (https://googlechrome.github.io/samples/web-bluetooth/scan.html?allAdvertisements=true), no modifications made. My hope was to avoid using the "experimental" features in Chrome, but maybe that's necessary to get the iBeacon data? (Major, Minor, Tx Power at 1M)

Data returned from my iBeacon device using the official "Watch Advertisements" sample:

Requesting any Bluetooth device...
> Requested null
Watching advertisements from "null"...
Advertisement received.
  Device Name: null
  Device ID: p8xFey/9h/3Uc7ohPrRiGg==
  RSSI: -38
  TX Power: -128
  UUIDs: 

Data returned from same iBeacon device using official "Scanning" sample:

Advertisement received.
  Device Name: null
  Device ID: p8xFey/9h/3Uc7ohPrRiGg==
  RSSI: -47
  TX Power: -128
  UUIDs: 
  Manufacturer Data: 76
    (Hex) 02 15 a4 95 bb 60 c5 b1 4b 44 b5 12 13 70 f0 2d 74 de 03 0d 28 67 0b
    (ASCII) ¤•»`űKDµpð-tÞ(g

Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/589 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 20 June 2022 01:47:10 UTC