From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: From: Artem Bizyukov To: bluez-devel@lists.sourceforge.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <1127231935.5168.86.camel@localhost.localdomain> Subject: [Bluez-devel] Fwd: Re[2]: It may be a bug in hcidump Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 21 Sep 2005 17:28:44 +0400 ---------- Forwarded message ---------- From: Artem Bizyukov Date: 21.09.2005 13:34 Subject: Re: Re[2]: It may be a bug in hcidump To: Marcel Holtmann 2005/9/20, Marcel Holtmann : > Hi Artem, > > > I`m save dump with -w option. hcidump fail only with -V option. I`m > > tested this tool on the same system but use glibc-2.3.2. The result is > > the same. > > the problem is easy, because it is not a valid HCI frame and hcidump is > not doing any robustness checks. > > < HCI Command: PIN Code Request Reply (0x01|0x000d) plen 4 > 0000: 29 00 00 00 )... > > A PIN code reply must include the BD_ADDR and not the connection handle. > Install bluez-utils-2.21 (or from CVS) and try again. > > Regards > > Marcel > > > Hello Marcel I used the latest utils and libs. And those dump i record with: OMAP5912OSK:~# hcitool hcitool - HCI Tool ver 2.21 MAP5912OSK:~# hcidump --help HCI sniffer - Bluetooth packet analyzer ver 1.25 I`m thin this bug is not critical. In my previous post "L2CAP channel" i describe my main problem. I cant connect to my board through L2CAP channel. > ACL data: handle 41 flags 0x02 dlen 12 L2CAP(s): Connect req: psm 1 scid 0x0040 < ACL data: handle 41 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 1 status 1 Connection pending - Authentication pending ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ < HCI Command: Set Connection Encryption (0x01|0x0013) plen 3 0000: 29 00 01 ).. > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > HCI Event: Command Status (0x0f) plen 4 0000: 00 01 13 04 .... > HCI Event: Encrypt Change (0x08) plen 4 0000: 00 29 00 01 .).. < HCI Command: Change Connection Link Key (0x01|0x0015) plen 2 0000: 29 00 ). < ACL data: handle 41 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0 Connection successful > HCI Event: Number of Completed Packets (0x13) plen 5 Kernel answer "Connection pending". But i ned that kernel enswer "Connection successful" without "Connection pending". I am write application that must communicate with already exist big PC application, and i can`t change it. How i must open socket, or set it parametrs, for succesful connect with a PC application? Regards. Bizyukov Artem. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel