public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users]  Again dund
Date: Mon, 08 Nov 2004 12:29:56 +0100	[thread overview]
Message-ID: <1099913396.6896.88.camel@pegasus> (raw)
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAosiAEZOtxUiHqgChZUVmh8KAAAAQAAAAO5qWLdOLE0SlT9H59+95+AEAAAAA@t-online.de>

Hi Peter,

> now I give you the responses of hcidump -x and I hope that you can give me a
> hint for my next steps to the bluetooth connection.
> 
> Than I run dund --connect 00:0B:CE:00:01:8F # address of BT-Modul
> and
> HCIDUMP -X response
> < HCI Command: Create Connection(0x01|0x0005) plen 13
>   8F 01 00 CE 0B 00 18 CC 02 00 00 00 01
> > HCI Event: Command Status(0x0f) plen 4
>   00 01 05 04
> > HCI Event: Role Change(0x12) plen 8
>   00 8F 01 00 CE 0B 00 01
> > HCI Event: Connect Complete(0x03) plen 11
>   00 29 00 8F 01 00 CE 0B 00 01 00
> < ACL data: handle 0x0029 flags 0x02 dlen 12
>     L2CAP(s): Connect req: psm 1 scid 0x0040
> < HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
>   29 00 0F 00
> > HCI Event: Page Scan Repetition Mode Change(0x20) plen 7
>   8F 01 00 CE 0B 00 01
> > HCI Event: Command Complete(0x0e) plen 6
>   01 0D 08 00 29 00
> > HCI Event: Max Slots Change(0x1b) plen 3
>   29 00 05
> > HCI Event: Number of Completed Packets(0x13) plen 5
>   01 29 00 01 00
> > HCI Event: Link Key Request(0x17) plen 6
>   8F 01 00 CE 0B 00
> < HCI Command: Link Key Request Reply(0x01|0x000b) plen 22
>   8F 01 00 CE 0B 00 57 D3 4C A0 11 16 5C 3F 27 59 01 71 9C D2
>   AC 1B
> > HCI Event: Command Complete(0x0e) plen 10
>   01 0B 04 00 8F 01 00 CE 0B 00
> > ACL data: handle 0x0029 flags 0x02 dlen 16
>     L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 3 status 0
> < HCI Command: Disconnect(0x01|0x0006) plen 3
>   29 00 13
> > HCI Event: Command Status(0x0f) plen 4
>   00 01 06 04
> > HCI Event: Disconn Complete(0x05) plen 4
>   00 29 00 16
> 
> there is no bt-connection established and I don't know why.

the L2CAP response failed with result code 3 and this means "Connection
refused - security block". The link key request is there and you reply
with a link key, but the connection fails. This means that your link key
that is stored on your system is wrong.

There is no easy way to delete a link key at the moment and so I think
the best way is to delete the file /etc/bluetooth/link_key and restart
your running hcid.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users/listinfo/bluez-users

  reply	other threads:[~2004-11-08 11:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-04 10:22 [Bluez-users] Network Access Point - pairing problem D.W.
2004-11-04 11:05 ` Marcel Holtmann
2004-11-04 13:43   ` Jouni.Lohikoski@iki.fi
2004-11-04 14:22     ` Marcel Holtmann
2004-11-05 14:00       ` [Bluez-users] AW: Re: Again dund Peter K. Martin
2004-11-05 14:27         ` Marcel Holtmann
2004-11-05 17:46           ` AW: [Bluez-users] " Peter K. Martin
2004-11-05 20:18             ` Marcel Holtmann
2004-11-08  8:50               ` AW: " Peter K. Martin
2004-11-08 11:29                 ` Marcel Holtmann [this message]
2004-11-08 14:37                   ` Peter K. Martin
2004-11-08 14:54                     ` Marcel Holtmann
2004-11-08 18:09                       ` AW: " Peter K. Martin
2004-11-08 18:38                         ` Marcel Holtmann
2004-11-09  9:01                           ` AW: " Peter K. Martin
2004-11-04 12:59 ` [Bluez-users] Network Access Point - pairing problem D.W.
2004-11-04 13:36   ` 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=1099913396.6896.88.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /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