public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] pin code problem
@ 2004-04-04  6:18 guang
  2004-04-04 10:10 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: guang @ 2004-04-04  6:18 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 1002 bytes --]

Hi all:
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 ?


[-- Attachment #2: Type: text/html, Size: 1853 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] pin code problem
  2004-04-04  6:18 [Bluez-users] pin code problem guang
@ 2004-04-04 10:10 ` Marcel Holtmann
       [not found]   ` <001301c41a44$77a46fa0$7b6b7b8c@yaya>
       [not found]   ` <001c01c41ca2$2c4f4a10$7b6b7b8c@yaya>
  0 siblings, 2 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-04-04 10:10 UTC (permalink / raw)
  To: guang; +Cc: BlueZ Mailing List

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.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] pin code problem
       [not found]   ` <001301c41a44$77a46fa0$7b6b7b8c@yaya>
@ 2004-04-04 17:34     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-04-04 17:34 UTC (permalink / raw)
  To: guang; +Cc: BlueZ Mailing List

Hi,

> I am sure only one hcid running .
> I typed " hcid -f /etc/bluetooth/hcid.conf

check it with "ps x | grep hcid". I am pretty sure that there are more
than one running. Otherwise you can't get your hcidump output.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] pin code problem
       [not found]   ` <001c01c41ca2$2c4f4a10$7b6b7b8c@yaya>
@ 2004-04-07 14:34     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-04-07 14:34 UTC (permalink / raw)
  To: guang; +Cc: BlueZ Mailing List

Hi,

> I am very sure that it is only one hcid running, because i use "ps aux|grep
> hcid" to find hcid process.
> 
> Note , I can use sony-ericsson T610 to communication sony-ericsson HBH-65,
> but before communication I must enter "PIN code" on T610 to deliver this
> code  to HBH-65.
> So, I guess I can't "l2ping" HBH-65 is because  I must enter "PIN code " on
> my PC to translate this code to HBH-65.
> 
> Is my notion correct? If yes, how can I enter PIN code to deliver HBH-65? Or
> there are APIs that provide us to programing  on BlueZ?

look at the mailing list archive. You will find all answers about the
PIN helper stuff of the hcid there.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-07 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-04  6:18 [Bluez-users] pin code problem guang
2004-04-04 10:10 ` Marcel Holtmann
     [not found]   ` <001301c41a44$77a46fa0$7b6b7b8c@yaya>
2004-04-04 17:34     ` Marcel Holtmann
     [not found]   ` <001c01c41ca2$2c4f4a10$7b6b7b8c@yaya>
2004-04-07 14:34     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox