无法使用raspberry pi上的bluez-tools将蓝牙设备设置为可信任

时间:2013-11-21 20:58:47

标签: linux bluetooth raspberry-pi raspbian bluez

我想在我的覆盆子pi上使用bluez-tools通过命令行设置我的ipod作为可靠的蓝牙设备。

在Ubuntu上我运行:

bt-device --set 28:37:37:B5:1A:B5 Trusted 1

输出结果为:

Trusted: 0 -> 1


在我的Raspberry pi上输入相同的bt-device命令,输出如下:

bt-device: bluez service is not found
Did you forget to run bluetoothd?

我已经运行了命令

bluetoothd

在我的Raspberry Pi上,似乎正在运行。

Raspberry运行bluez版本:4.99-2,和bluez-tools版本:0.1.38 + git662e-3

谢谢!

1 个答案:

答案 0 :(得分:-1)

尝试:

bluez-test-device trusted xx:xx:xx:xx:xx:xx yes
bluez-test-input connect xx:xx:xx:xx:xx:xx yes