Linux bluetooth development
 help / color / mirror / Atom feed
From: "Han Hoekstra" <Han.Hoekstra@WirelessValue.nl>
To: <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] Question on using HCIDUMP to interpret data monitored from an uart
Date: Thu, 20 Apr 2006 17:36:02 +0200	[thread overview]
Message-ID: <004d01c66490$21f60f80$b000a8c0@PCD040616> (raw)

[-- Attachment #1: Type: text/plain, Size: 2089 bytes --]

Hello all,
 
I have a question about using hcidump to translate serial logged HCI
communication to readable form.
 
The situation is this, I have 8 embedded devices of which 1 is the master
and the other 7 are slave devices in a piconet and they communicate to each
other via RFCOMM. The master sets up a connection to all 7 slaves in the
beginning of the communication process and then communicates with all 7. But
there is a problem that the communication stops after some time and we want
to check what is going on.
The embedded devices are Linux based systems with a CSR bluecore, the main
processor communicates with the Bluecore via a serial link running the BCSP
protocol. The Bluecore is running the lower layers of the stack and talking
HCI to the host processor which is running BlueZ.
 
What we have now to monitor communications is one device that has the serial
connection between Bluecore and Linux host processor routed to 2 external
serial ports for monitoring. So it is possible to capture all communications
between the Bluecore and the Linux host processor. We already have software
that strips the BCSP protocol and saves the raw data in the format of a
hcidump save file, but there is some extra data in the packets stored in the
file that we don't know where it comes from, but is required by hcidump to
translate the data into readable form. We have already found out about the
time-stamp and direction fields, but there is other data that we suspect is
state information added by the BlueZ stack and we don't know what that is.
 
Is it possible to somehow feed the data from the serial port to hcidump and
have hcidump translate that data to readable form or is there some extra
data reaquired that is generated by the BlueZ stack ?
 
Does anyone have any idea if this is feasable ?
 
BTW. it is not possible to run hcidump on the embedded device, because there
is no way to create files on it and the CPU is to slow to handle the extra
load (probably).
 
Greetings,
   Han
 
---
Han Hoekstra
Wireless Value B.V.
Waanderweg 30a
7812 HZ  Emmen
Tel: +31-591-633200
 

[-- Attachment #2: Type: text/html, Size: 4189 bytes --]

             reply	other threads:[~2006-04-20 15:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 15:36 Han Hoekstra [this message]
2006-04-20 18:03 ` [Bluez-devel] Question on using HCIDUMP to interpret data monitored from an uart Marcel Holtmann
2006-04-23 18:12 ` Martin Karger

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='004d01c66490$21f60f80$b000a8c0@PCD040616' \
    --to=han.hoekstra@wirelessvalue.nl \
    --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