LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 646|回复: 0

谁知道蓝牙是怎么配对的?

[复制链接]
发表于 2011-2-5 09:00:56 | 显示全部楼层 |阅读模式
bluez-simple-agent这个命令怎么是这样的?

/usr/bin/bluez-simple-agent hci0 00:15:83:31:8F:07                                                            
Traceback (most recent call last):
  File "/usr/bin/bluez-simple-agent", line 88, in <module>
    manager = dbus.Interface(bus.get_object("org.bluez", "/"),
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表