- From: hrjAccount via GitHub <sysbot+gh@w3.org>
- Date: Tue, 09 Apr 2024 10:43:08 +0000
- To: public-web-bluetooth-log@w3.org
hrjAccount has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth:
== navigator.bluetooth.requestDevice (opt) same filter but ios browser bluefy doesn't work ==
let filters = isIos ? [
{
namePrefix: "YK",
manufacturerData: [{
companyIdentifier: 0x09b3,
dataPrefix: new Uint8Array([0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01]),
mask: new Uint8Array([0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01])
}]
}
] : [
{
manufacturerData: [{
companyIdentifier: 0x09b3,
dataPrefix: new Uint8Array([0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01]),
mask: new Uint8Array([0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01])
}]
},
]
let options = {
filters: filters,
optionalServices: [Code.bxlink, Code.fota],
acceptAllDevices: false,
};
const device = await navigator.bluetooth.requestDevice(options);
chrome ćandroid can Search for the specific device
but ios browser bluefy doesn't work
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/624 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 9 April 2024 10:43:09 UTC