combination keys support? [4]
Quoted 2 lines
your analysis of the problem is wrong.
Use "hcidump -x" as root and see what really happens.
here the dump starting when i enter the pin in the mobile phone:
----- start -----
Quoted 1 line
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
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 10
01 0D 04 00 8E 08 52 ED 0E 00
Quoted 1 line
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
Quoted 1 line
ACL data: handle
0x0000flags0x02dlen 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 0xd7Quoted 1 line
HCI Event: Disconn Complete (
0x05) plen 4
00 00 00 29
Quoted 1 line
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.
there are a lot of posts in forums and so on that this is a problem of combination keys <-> unit keys.
but i'd really like to hear something different!
kind regards
Marco Trudel
Signature · 13 lines
NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl GMX DSL-Netzanschluss + Tarif zum supergünstigen Komplett-Preis! ------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel
Marcel Holtmann
maintainerRe: [Bluez-devel] combination keys support?
Hi Marco,
Quoted 21 lines
here the dump starting when i enter the pin in the mobile phone:
----- start -----
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 68E 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 00Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 1001 0D 04 00 8E 08 52 ED 0E 00
Quoted 1 line
HCI Event: Link Key Notification (
0x18) plen 238E 08 52 ED 0E 00 B9 2F DD 2F 51 0C 91 E3 79 3C 53 8A C1 54 22 50 01
Quoted 1 line
ACL data: handle
0x0000flags0x02dlen 8L2CAP(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 0xd7Quoted 1 line
HCI Event: Disconn Complete (
0x05) plen 400 00 00 29
Quoted 8 lines
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 501 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel