public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: wim delvaux <wim.delvaux@adaptiveplanet.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Some BT problems connecting between Ipaq and USB dongle
Date: Thu, 05 Aug 2004 03:25:35 +0200	[thread overview]
Message-ID: <1091669135.16182.93.camel@pegasus> (raw)
In-Reply-To: <200408050214.25654.wim.delvaux@adaptiveplanet.com>

Hi Wim,

> Am I having problems setting up a bluetooth connection between my Ipaq 3870 
> Fam 0.7.2 and my debian sid desktop.
> 
> I tried 
> 
> clean reboot.
> 
> 	Server runs pand --listen --role NAP
> 
> client
> 	
> 	pand --search --cache --persist
> 
> RESULT
> 
> 	I do see a bluepin dialog on my desktop, I see the PIN code being sent
> 	but then I get as result 
> 
> > HCI Event: PIN Code Request(0x16) plen 6
>   . . . . . .
> > HCI Event: Connect Complete(0x03) plen 11
>   . ) . . . . . . . . .
> < HCI Command: PIN Code Request Reply(0x01|0x000d) plen 23
>   . . . . . . . 1 2 3 4 . . . . . . . . .
>   . . .
> > HCI Event: Command Complete(0x0e) plen 10
>   . . . . . . . . . .
> > HCI Event: Connect Request(0x04) plen 10
>   . . . . . . . . . .
> < HCI Command: Accept Connection Request(0x01|0x0009) plen 7
>   . . . . . . .
> > HCI Event: Command Status(0x0f) plen 4
>   . . . .
> 
> 	the PIN code is correct.
> 	Normally should also get a dialog box on the Ipaq for the same PIN code
> 
> I tried also running sdptool
> 
> 	Then I also get the PIN code dialog box but with following sequence
> 	and output of command
> 
> OUTPUT
> Inquiring ...
> Failed to connect to SDP server on 00:60:57:35:81:B6: Permission denied
> Failed to connect to SDP server on 00:60:57:02:71:A2: Permission denied
> 
> DUMP
> > HCI Event: Connect Request(0x04) plen 10
>   . . . . . . . . . .
> < HCI Command: Accept Connection Request(0x01|0x0009) plen 7
>   . . . . . . .
> > 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: Role Change(0x12) plen 8
>   . . . . . . . .
> > HCI Event: Command Complete(0x0e) plen 10
>   . . . . . . . . . .
> > HCI Event: PIN Code Request(0x16) plen 6
>   . . . . . .
> > HCI Event: Connect Complete(0x03) plen 11
>   . ( . . . . . . . . .
> < HCI Command: PIN Code Request Reply(0x01|0x000d) plen 23
>   . . . . . . . 1 2 3 4 . . . . . . . . .
>   . . .
> > HCI Event: Command Complete(0x0e) plen 10
>   . . . . . . . . . .
> 
> or RAW
> 
> > 04 04 0A 96 85 0D C7 02 00 12 01 12 01
> < 01 09 04 07 96 85 0D C7 02 00 00
> > 04 0F 04 00 01 09 04
> > 04 17 06 96 85 0D C7 02 00
> < 01 0C 04 06 96 85 0D C7 02 00
> > 04 12 08 00 96 85 0D C7 02 00 00
> > 04 0E 0A 01 0C 04 00 96 85 0D C7 02 00
> > 04 16 06 96 85 0D C7 02 00
> > 04 03 0B 18 28 00 96 85 0D C7 02 00 01 00
> < 01 0D 04 17 96 85 0D C7 02 00 04 31 32 33 34 00 00 00 00 00
>   00 00 00 00 00 00 00
> > 04 0E 0A 01 0D 04 02 96 85 0D C7 02 00
> 
> hcitool properly scans the devices.
> 
> pinging yiels (with dialog )
> 
> ~ # l2ping 00:60:57:02:71:A2
> Can't connect.: Permission denied

looks like one of your devices is in security mode 3. It is not a good
idea to use this security mode.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-08-05  1:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-05  0:14 [Bluez-users] Some BT problems connecting between Ipaq and USB dongle wim delvaux
2004-08-05  1:25 ` Marcel Holtmann [this message]
2004-08-05  6:50   ` wim delvaux
2004-08-05  9:51     ` Marcel Holtmann
     [not found]   ` <200408050840.40598.wim.delvaux@adaptiveplanet.com>
2004-08-05  9:53     ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1091669135.16182.93.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=wim.delvaux@adaptiveplanet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox