Re: [web-bluetooth] watchAdvertisements() should return a "sentinel" object (#591)

Any news on this topic?

After calling `watchAdvertisements()` on a selected device (filter has `keepRepeatedDevices= true`) the `advertisementreceived`-eventListener stops after a few seconds (tested with Chrome 112.0.5615.137 on MacBook Pro 2021). 
Afterwards the `device` object still has `watchingAdvertisements = true` set, but thats obviously wrong. Further calls to `watchAdvertisements()` have no effect. So it's not possible to monitor advertisement parameters of bluetooth devices continuously.

-- 
GitHub Notification of comment by niklasdahlheimer
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/591#issuecomment-1519837035 using your GitHub account


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

Received on Monday, 24 April 2023 10:08:45 UTC