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

This sounds like platform-specific differences showing through. 

On Windows, different events are received for each advertisement packet received so we get separate events for "regular" advertisement data and a separate event for the scan response. But on macOS, Android and Linux events only indicate that something in the advertisement data changed and there is no way to tell on those platforms which information was in the advertisement data and which data was in the scan response. So this one is probably more of an implementation issue where Windows needs to be made to work more like the other platforms under the hood so that web developers don't have to handle OS-specific differences in their apps.

Also, on macOS, passive scanning is not possible (also not an easy way to do it on Linux). So I think it only makes sense to have active scanning in WebBLE.

-- 
GitHub Notification of comment by dlech
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/623#issuecomment-2039967597 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 14:38:32 UTC