* Re[2]: It may be a bug in hcidump
@ 2005-09-20 15:29 Artem Bizyukov
2005-09-20 15:58 ` [Bluez-devel] " Marcel Holtmann
0 siblings, 1 reply; 3+ messages in thread
From: Artem Bizyukov @ 2005-09-20 15:29 UTC (permalink / raw)
To: marcel; +Cc: bluez-devel
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
Marcel
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.
I can normally load this tool under gdbserver. But i can`t normally
connect to gdbserver from scratchbox gdb. On command list gdb get next
answer:
(gdb) list
1 /home/tsavola/sb-toolchains/gcc/glibc/work/glibc_build/csu/crti.S:
No such file or directory.
in /home/tsavola/sb-toolchains/gcc/glibc/work/glibc_build/csu/crti.S
All my another programme loading and debugging fine. Do you know that
does it mean?
Regurds. Bizyukov Artem.
[-- Attachment #2: hcidump.new --]
[-- Type: application/octet-stream, Size: 1299 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bluez-devel] Re: Re[2]: It may be a bug in hcidump
2005-09-20 15:29 Re[2]: It may be a bug in hcidump Artem Bizyukov
@ 2005-09-20 15:58 ` Marcel Holtmann
[not found] ` <e98637f405092102346d904d4a@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2005-09-20 15:58 UTC (permalink / raw)
To: Artem Bizyukov; +Cc: bluez-devel
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
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bluez-devel] Fwd: Re[2]: It may be a bug in hcidump
[not found] ` <e98637f405092102346d904d4a@mail.gmail.com>
@ 2005-09-21 13:28 ` Artem Bizyukov
0 siblings, 0 replies; 3+ messages in thread
From: Artem Bizyukov @ 2005-09-21 13:28 UTC (permalink / raw)
To: bluez-devel
---------- Forwarded message ----------
From: Artem Bizyukov <bizyukov@gmail.com>
Date: 21.09.2005 13:34
Subject: Re: Re[2]: It may be a bug in hcidump
To: Marcel Holtmann <marcel@holtmann.org>
2005/9/20, Marcel Holtmann <marcel@holtmann.org>:
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-21 13:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-20 15:29 Re[2]: It may be a bug in hcidump Artem Bizyukov
2005-09-20 15:58 ` [Bluez-devel] " Marcel Holtmann
[not found] ` <e98637f405092102346d904d4a@mail.gmail.com>
2005-09-21 13:28 ` [Bluez-devel] Fwd: " Artem Bizyukov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).