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

Marcel Holtmann
2006-09-26T20:57:54Z

Hi Paulo,

> the output states as follow:
>
> HCI sniffer - Bluetooth packet analyzer ver 1.32
> device: hci0 snap_len: 1028 filter: 0xffffffff
> > HCI Event: Connect Request (0x04) plen 10
> bdaddr 00:05:16:5B:17:2C class 0x120110 type ACL
> < HCI Command: Accept Connection Request (0x01|0x0009) plen 7
> bdaddr 00:05:16:5B:17:2C role 0x01
> Role: Slave
> > HCI Event: Command Status (0x0f) plen 4
> Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
> > HCI Event: PIN Code Request (0x16) plen 6
> bdaddr 00:05:16:5B:17:2C
> < HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
> bdaddr 00:05:16:5B:17:2C len 5 pin 'BlueZ'
> > HCI Event: Command Complete (0x0e) plen 10
> PIN Code Request Reply (0x01|0x000d) ncmd 1
> status 0x00 bdaddr 00:05:16:5B:17:2C
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x05 handle 41 bdaddr 00:05:16:5B:17:2C type ACL encrypt 0x00
> Error: Authentication Failure

for some reason, it is using the PIN code for incoming connections from
the hcid.conf and not the passkey-agent. Check you syslog files if the
passkey agent got really registered or if it failed.