Re: [Bluez-users] pin code problem

Marcel Holtmann
2004-04-04T10:10:11Z

Hi,

> I implement an Audio Gateway (PC) to communication a Headset (sony
> ericsson HBH-65), but AG can't commucation HS. As fllow:
>
> I type " l2ping 00:0D:E3:00:00:33"
> and it appear :
> [root@bluez root]# l2ping 00:0A:D9:A1:F4:49
> Can't connect.: Permission denied
>
> and i used hcidump to dump file:
>
> HCIDump - HCI packet analyzer ver 1.6
> < HCI Command: Create Connection(0x01|0x0005) plen 13
> > HCI Event: Command Status(0x0f) plen 4
> > HCI Event: Link Key Request(0x17) plen 6
> < HCI Command: Link Key Request Negative Reply(0x01|0x000c) plen 6
> > HCI Event: Command Complete(0x0e) plen 10
> < HCI Command: Link Key Request Negative Reply(0x01|0x000c) plen 6
> > HCI Event: Command Complete(0x0e) plen 10
> < HCI Command: Link Key Request Negative Reply(0x01|0x000c) plen 6
> > HCI Event: Command Complete(0x0e) plen 10
> > HCI Event: Connect Complete(0x03) plen 11
>
> I guess the problem be caused by PIN Code.
> How can I enter PIN Code to response HS.
> How to paring between AG and HS ?

make sure that only one hcid is running.