【发布时间】:2013-12-06 13:24:52
【问题描述】:
我想在我的树莓派上使用 bluez-tools 通过命令行运行 raspian 将我的 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
谢谢!
【问题讨论】:
-
向bluetoothd发送一些dbus命令来检查bluetoothd是否正在运行?此命令将帮助您列出 bt 适配器 "dbus-send --system --type=method_call --print-reply --dest=org.bluez "/" org.bluez.Manager.ListAdapters"
标签: linux bluetooth raspberry-pi raspbian bluez