当尝试通过蓝牙连接到 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 中也显示为已连接。
我做错了bluetoothctl
connect
什么?