Re: [Bluez-users] bluez-utils 3.5 and pairing

Marcel Holtmann
2006-09-26T23:08:10Z

Hi Paulo,

> the output of the log/messages for the transaction was:
>
> Sep 26 17:28:24 hirschberg hcid[25949]: name_listener_add(:1.358)
> Sep 26 17:28:24 hirschberg hcid[25949]: Adding match rule
> "interface=org.freedesktop.DBus,member=NameOwnerChanged,arg0=:1.358"
> failed: Unknown key "arg0" in match rule
> Sep 26 17:28:24 hirschberg hcid[25949]: Default passkey agent (:1.358,
> /org/bluez/passkey_agent_30629) registered
> Sep 26 17:29:07 hirschberg sudo: paulo : TTY=pts/1 ; PWD=/home/paulo
> ; USER=root ; COMMAND=/usr/sbin/hcidump -X -V
> Sep 26 17:30:03 hirschberg hcid[25949]: pin_code_request
> (sba=00:0C:55:F9:7D:6D, dba=00:05:16:5B:17:2C)
> Sep 26 17:30:53 hirschberg syslog-ng[5024]: STATS: dropped 0
> Sep 26 17:36:21 hirschberg hcid[25949]: name_listener_remove(:1.358)
> Sep 26 17:36:21 hirschberg hcid[25949]: remove_name_listener: no
> listener for :1.358
> Sep 26 17:36:21 hirschberg hcid[25949]: Default passkey agent (:1.358,
> /org/bluez/passkey_agent_30629) unregistered
>
> As seen, the passkey-agent was registered....

I overlooked that in the first place. Since this is an incoming security
mode 3 connection you need to set "security user" in hcid.conf to make
it use the passkey agent. I assumed that was default, but actually it
was not. Which is fixed now.