All pastes #738597 Raw Edit

Unbenannt

public text v1 · immutable
·published 2007-10-16 14:21 UTC
rendered paste body
root@OpenWrt:/# hcid -n -d &
hcid[964]: Bluetooth HCI daemon
hcid[964]: Enabling debug information
hcid[964]: HCI dev 0 registered
hcid[964]: HCI dev 0 already up
hcid[964]: Device hci0 has been added
hcid[964]: Starting security manager 0
hcid[964]: Device hci0 has been activated
hcid[964]: Created local server at unix:path=/var/run/dbus-2ixEfZyILx,guid=8d9ba6a8739c41fef850a700386d4852
hcid[964]: child 965 exited
hcid[964]: child 966 exited

root@OpenWrt:/# passkey-agent --default 12333 &
hcid[964]: /org/bluez: org.bluez.Security.RegisterDefaultPasskeyAgent()
hcid[964]: name_listener_add(:1.5)
hcid[964]: Default passkey agent (:1.5, /org/bluez/passkey_agent_967) registered

root@OpenWrt:/# dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.CreateBonding string:00:0E:6D:4B:60:F7
hcid[964]: /org/bluez/hci0: org.bluez.Adapter.CreateBonding()
hcid[964]: name_listener_add(:1.6)
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
hcid[964]: CreateConnection requestor (:1.6) exited before bonding was completed

root@OpenWrt:/# hciconfig 
hci0:   Type: USB
        BD Address: 00:02:72:03:40:D9 ACL MTU: 192:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN AUTH ENCRYPT SECMGR 
        RX bytes:1683 acl:0 sco:0 events:52 errors:0
        TX bytes:723 acl:0 sco:0 commands:40 errors:0



unfortunately hcidump fails to compile

hcidump.c: In function 'wait_connection':
hcidump.c:749: error: 'AI_ADDRCONFIG' undeclared (first use in this function)
hcidump.c:749: error: (Each undeclared identifier is reported only once
hcidump.c:749: error: for each function it appears in.)