当我调用 navigator.bluetooth.requestDevice({acceptAllDevices: true}) 时,会弹出一个带有我周围设备的 chrome 窗口。我只能在这里选择 1 个设备。有没有办法选择多个设备或不弹出此窗口;我可以实现我自己的基于 Web 的窗口来显示我周围的 BLE 设备吗?
navigator.bluetooth.requestDevice({acceptAllDevices: true})
.then(device => {
console.log(device);
});