[web-bluetooth] Proposal: active scanning with scan response (#623)

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

== Proposal: active scanning with scan response ==
Currently, there is no option in `requestLEScan` to listen for scan responses, nor is there a field in `BluetoothAdvertisingEvent` to access the scan response. I believe it would be beneficial to introduce 'normal' and 'active' scan modes, as there appears to be confusion in various implementations at present.

For instance, in Chromium, the `watchAdvertisements` method returns two subsequent events: one with standard manufacturer data and another with the scan response. However, when using requestLEScan, only the standard advertising response is provided.

I propose that establishing a clear distinction would, at the very least, aid in determining which API is stable enough in different implementations to effectively utilize scan responses.

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


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

Received on Friday, 5 April 2024 10:34:29 UTC