【发布时间】:2016-03-13 03:47:42
【问题描述】:
当尝试通过蓝牙连接到 Sphero(来自 Orbotix)时,在完全更新的 Raspbian Jessie 上:
-
如果我这样做(作为 root,与 Sphero 配对并受信任)
# bluetoothctl [bluetooth]# connect {sphero-mac-address} [CHG] Device {sphero-mac-address} Connected:yes [CHG] Device {sphero-mac-address} Connected:no如您所见,连接失败
-
但如果我这样做了
# rfcomm connect /dev/rfcomm0 {sphero-mac-address} Connected /dev/rfcomm0 to {sphero-mac-address} on channel 1
连接成功,之后 Sphero 在 bluetoothctl 中也显示为已连接。
bluetoothctlconnect 我做错了什么?
【问题讨论】:
标签: bluetooth raspberry-pi raspbian bluez sphero