Re: [web-bluetooth] Wrong handling of property 'name' for BLE devices (#570)

There are some implementation issues which make passing strings that are not valid UTF-8. I'd like to better understand the use case for device names containing unprintable characters. Why isn't this information in fields designed for binary data like `manufacturerData` or `serviceData`?

Not updating `BluetoothDevice.name` when a new advertisement is received is tracked by [Chromium issue 1133489](https://crbug.com/1133489) however the `name` field of the `BluetoothAdvertisingEvent` should include the name from that particular advertisement packet.

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


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

Received on Saturday, 11 December 2021 01:30:45 UTC