我在 Dell XPS 13" 9360 上连接蓝牙 LE 设备时遇到问题。以前工作正常,但突然连接到设备总是失败,并出现连接超时。我已经测试了 10 多个设备,连接总是失败,并出现相同的错误. 设备工作正常,可以从另一台计算机连接到它们。
我正在使用BlueZ 5.50 (bluetoothctl)Ubuntu 16.04(刚刚升级到 18.04,但仍然存在同样的问题)。
bluetoothctl 的输出:
[bluetooth]# connect D6:37:A6:25:93:E6
Attempting to connect to D6:37:A6:25:93:E6
[CHG] Device D6:37:A6:25:93:E6 Connected: yes
Connection successful
[CHG] Device D6:37:A6:25:93:E6 Connected: no
Run Code Online (Sandbox Code Playgroud)
连接成功后约 1 秒发生断开连接“Connected: no”。
连接时的输出hcidump -i hci0:
> HCI Event: Command Status (0x0f) plen 4
LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
> HCI Event: Command Status (0x0f) plen 4
LE Read Remote Used Features (0x08|0x0016) status …Run Code Online (Sandbox Code Playgroud)