You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

ChromeOS下Web Bluetooth API无法找到指定UUID服务的问题排查

Web Bluetooth API在ChromeOS上无法找到设备服务UUID 0000180a-0000-1000-8000-00805f9b34fb

我开发了一个用于连接蓝牙切割设备的网站,使用JavaScript Web Bluetooth API实现核心功能。该功能在Windows和macOS的Chrome浏览器中运行正常,能成功连接设备并发送数据,但在Chromebook的ChromeOS系统上出现异常:设备可以正常连接,但发送数据时返回以下错误:

No Services matching UUID 0000180a-0000-1000-8000-00805f9b34fb found in Device.

相关参数配置在其他系统中验证无误,目前已尝试重置Chrome设置、开关所有蓝牙相关flags,但问题仍未解决。

以下是Windows设备和Chromebook的连接过程日志:

Windows连接日志

Connection Process
Windows: 

>>> IMPORT NAVIGATOR
dotnet.native.8.0.1.y3hnxyz8dw.js:8 MODULE Lazy_ToString_ValueNotCreated
dotnet.native.8.0.1.y3hnxyz8dw.js:8 RRRRRRRDDDDDDDDAAAAAAAA
dotnet.native.8.0.1.y3hnxyz8dw.js:8 mmmmmmmmmmmmmmmmmmmm Microsoft.JSInterop.WebAssembly.WebAssemblyJSObjectReference
bluetoothControls.js:4 >>>js XXXXXXXXXXXXXXXXXXXXXXXXXXXXX requestDevice
bluetoothControls.js:23 >>>js requestDevice 3333 device  BluetoothDevice {id: 'dRtgl8alva981A1jnk8b4g==', name: 'Portrait 3-0', gatt: BluetoothRemoteGATTServer, ongattserverdisconnected: null}
bluetoothControls.js:24 >>>js requestDevice 3333 device  Portrait 3-0
bluetoothControls.js:28 >>> Connected
dotnet.native.8.0.1.y3hnxyz8dw.js:8 DDDDDDDDDDDDDDDDDDDDDDDD Portrait 3-0
dotnet.native.8.0.1.y3hnxyz8dw.js:8 im device and im init device
bluetoothControls.js:69 START READ VALUE.JS
bluetoothControls.js:48 >>> GET DEVICES >>>
bluetoothControls.js:54 >>> DEVICE [object BluetoothDevice] >>>
bluetoothControls.js:55 >>> GOT DEVICE >>>


bluetoothControls.js:83 >>> ARRAY 80,111,114,116,114,97,105,116,32,51 >>>
bluetoothControls.js:69 START READ VALUE.JS
bluetoothControls.js:48 >>> GET DEVICES >>>
bluetoothControls.js:54 >>> DEVICE [object BluetoothDevice] >>>
bluetoothControls.js:55 >>> GOT DEVICE >>>

bluetoothControls.js:83 >>> ARRAY 80,111,114,116,114,97,105,116,32,51 >>>

ChromeOS连接日志

ChromeOS:
>>> IMPORT NAVIGATOR
dotnet.native.8.0.1.y3hnxyz8dw.js:8 MODULE Lazy_ToString_ValueNotCreated
dotnet.native.8.0.1.y3hnxyz8dw.js:8 RRRRRRRDDDDDDDDAAAAAAAA
dotnet.native.8.0.1.y3hnxyz8dw.js:8 mmmmmmmmmmmmmmmmmmmm Microsoft.JSInterop.WebAssembly.WebAssemblyJSObjectReference
bluetoothControls.js:4 >>>js XXXXXXXXXXXXXXXXXXXXXXXXXXXXX requestDevice
bluetoothControls.js:23 >>>js requestDevice 3333 device  BluetoothDevice {id: 'skGlrRzfXBcxQI6UHQboWA==', name: 'Portrait 3-0', gatt: BluetoothRemoteGATTServer, ongattserverdisconnected: null}
bluetoothControls.js:24 >>>js requestDevice 3333 device  Portrait 3-0
bluetoothControls.js:28 >>> Connected
dotnet.native.8.0.1.y3hnxyz8dw.js:8 DDDDDDDDDDDDDDDDDDDDDDDD Portrait 3-0
dotnet.native.8.0.1.y3hnxyz8dw.js:8 im device and im init device
bluetoothControls.js:69 START READ VALUE.JS
bluetoothControls.js:48 >>> GET DEVICES >>>
bluetoothControls.js:54 >>> DEVICE [object BluetoothDevice] >>>
bluetoothControls.js:55 >>> GOT DEVICE >>>


dotnet.native.8.0.1.y3hnxyz8dw.js:8 Canvas not connected to bluetooth: No Services matching UUID 0000180a-0000-1000-8000-00805f9b34fb found in Device.
dotnet.native.8.0.1.y3hnxyz8dw.js:8 undefined

寻求ChromeOS蓝牙连接限制的具体原因及可行的修改方法。


内容的提问来源于stack exchange,提问作者SportalApp

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.30 08:33:25