public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] combination keys support?
Date: Mon, 15 Nov 2004 00:09:40 +0100	[thread overview]
Message-ID: <1100473781.21403.95.camel@pegasus> (raw)
In-Reply-To: <27620.1100470371@www17.gmx.net>

Hi Marco,

> here the dump starting when i enter the pin in the mobile phone:
> 
> ----- start -----
> > HCI Event: PIN Code Request (0x16) plen 6
>   8E 08 52 ED 0E 00
> < HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
>   8E 08 52 ED 0E 00 01 31 00 00 00 00 00 00 00 00 00 00 00 00
>   00 00 00
> > HCI Event: Command Complete (0x0e) plen 10
>   01 0D 04 00 8E 08 52 ED 0E 00
> > HCI Event: Link Key Notification (0x18) plen 23
>   8E 08 52 ED 0E 00 B9 2F DD 2F 51 0C 91 E3 79 3C 53 8A C1 54
>   22 50 01
> > ACL data: handle 0x0000 flags 0x02 dlen 8
>     L2CAP(d): cid 0x0040 len 4 [psm 3]
>       RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c
> < ACL data: handle 0x0000 flags 0x02 dlen 8
>     L2CAP(d): cid 0x0040 len 4 [psm 3]
>       RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
> > HCI Event: Disconn Complete (0x05) plen 4
>   00 00 00 29
> > HCI Event: Number of Completed Packets (0x13) plen 5
>   01 00 00 01 00
> ----- stop -----
> 
> the mobile phone tells me "pairing and connection rejected for security
> reason".
> Then "disconnected from ..."
> if i enter an wrong pin, another message appears.

this is really weird. The error code 0x29 means "pairing with unit key
not supported", but actually it sends out the link key notification. It
tell us that the link key is a local unit key. Whatever local means in
this case. And the PIN code request happens before the SABM on the
control DLCI 0. There is something fundamental wrong.

What device do you use (hciconfig -a)? What kind of phone is this
(hcitool info <bdaddr>)?

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel

  reply	other threads:[~2004-11-14 23:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-14 22:12 [Bluez-devel] combination keys support? [4] Marco Trudel
2004-11-14 23:09 ` Marcel Holtmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-11-15  7:18 [Bluez-devel] combination keys support? [5] Marco Trudel
2004-11-15 13:26 ` [Bluez-devel] combination keys support? Marcel Holtmann
2004-11-14 20:50 Marco Trudel
2004-11-14 21:05 ` Marcel Holtmann
2004-11-14 19:49 Marco Trudel
2004-11-14 20:09 ` Marcel Holtmann
2004-11-14 18:18 Marco Trudel
2004-11-14 18:31 ` 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=1100473781.21403.95.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@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