简体   繁体   English

Chrome(Android版)上的网络蓝牙找不到任何设备

[英]Web Bluetooth on Chrome for Android is not finding any devices

I'm trying to use the new navigator.bluetooth Web Bluetooth APIs to connect to an older Bluetooth device, however using the requestDevice({acceptAllDevices: true}) method seems to not working. 我正在尝试使用新的navigator.bluetooth Web蓝牙API连接到较旧的蓝牙设备,但是使用requestDevice({acceptAllDevices: true})方法似乎无法正常工作。

According to the docs , it should show all of the bluetooth devices without any filters, but the Chrome beta on Android is not picking up any devices whatsoever, as seen in the picture. 根据文档显示,它应该显示所有没有任何过滤器的蓝牙设备,但是如图所示,Android上的Chrome beta版不会拾取任何设备。

I'm using the Web Bluetooth Terminal with the modified mentioned method above, and getting zero luck in listing any devices. 我将Web蓝牙终端与上面提到的修改方法一起使用,并且列出任何设备的运气都为零。

My device is not BLE, and I'm trying to use the SerialPort "SPP" profile similar to this question , which I believe has the UUID of 0x1101 or 00001101-0000-1000-8000-00805f9b34fb . 我的设备是不是BLE,我试图用一个串口“SPP”轮廓类似这个问题 ,我相信这的UUID 0x110100001101-0000-1000-8000-00805f9b34fb

How do I list the nearby or paired Bluetooth devices on Chrome mobile for Android? 如何在Android版Chrome移动版上列出附近或已配对的蓝牙设备?

( Additional Info: Chrome 56 on Android 6.0, the Bluetooth device is a HC-05 module - tested and confirmed working correctly with a dozen of Android Bluetooth terminal apps .) 附加信息: Android 6.0上的Chrome 56,蓝牙设备是HC-05模块 ,已经过测试并确认可与许多Android蓝牙终端应用程序正常使用。)


Web Bluetooth supports only Bluetooth Low Energy devices for now. Web Bluetooth目前仅支持Bluetooth Low Energy设备。 You won't be able to connect to Bluetooth Classic devices with this Web API. 您将无法使用此Web API连接到Bluetooth Classic设备。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM