为什么 chrome 不支持 Android 平板电脑上的 BLE?



我正在尝试找出为什么蓝牙Web API无法在我的平板电脑上运行。 平板电脑是Android 4.4.4,Galaxy Tab E。 当我在谷歌浏览器版本 64 中使用此演示页面时,我收到以下错误消息:

Requesting Bluetooth Device...
with {"acceptAllDevices":true}
Argh! NotFoundError: Bluetooth Low Energy not available.

但是当我尝试BLE应用程序时,例如这个,它似乎可以正常工作,扫描蓝牙设备。

我尝试为网络蓝牙 API 搜索支持的操作系统,它可以在我的手机上的 chrome 上运行,但如果它也适用于平板电脑,那将很有帮助。

啊,我找到了。 Web 蓝牙仅在 Android 6.0 棉花糖或更高版本上受支持。 请参阅 https://github.com/WebBluetoothCG/web-bluetooth/blob/master/implementation-status.md

最新更新