From: Steven Singer <steven.singer@csr.com>
To: paolo2278@freemail.it
Cc: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] absolute clock
Date: Wed, 31 Mar 2004 12:58:47 +0100 [thread overview]
Message-ID: <406AB277.2030503@csr.com> (raw)
In-Reply-To: <20040331104607.18049.qmail@mail.supereva.it>
paolo2278@freemail.it wrote:
> I have a great problem, I'd like to know wich is the structure where I
> can find the value of the bluetooth's absolute clock, or the function
> that I could call for read this value.
[...]
> P.S. I have a CSR Bluetooth
As Marcel pointed out in another message, there's no standard HCI
command to read the Bluetooth clock in BT 1.1 but there is in BT 1.2.
However, if you have a CSR BT 1.1 device there are vendor specific
commands. If you use CSR's BCCMD mechanism then there are two IDs of
interest: BCCMDVARID_BT_CLOCK (0x2c00) returns the local Bluetooth clock
of the controller; BCCMDVARID_PICONET_INSTANT (0x3009) returns the
current Bluetooth clock for the a given piconet (it expects you to pass
in an ACL handle for any link on that piconet).
If you have access to the CSR support website (www.csrsupport.com) then
it's all fully documented. Don't forget that you may need to tunnel the
commands over HCI. Alternatively, you might find it easier to dig through
the BlueZ source and find out where it sends the commands to change the
uart baud rate - that should give you a good example to work from.
I can't recall if BlueZ has a tool that allows you to send arbitrary
BCCMDs to CSR chips - if not, it sounds like a good project for
someone.
- Steven
--
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2004-03-31 11:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-31 10:46 [Bluez-devel] absolute clock paolo2278
2004-03-31 10:56 ` Marcel Holtmann
2004-03-31 11:58 ` Steven Singer [this message]
2004-03-31 12:14 ` Marcel Holtmann
[not found] <20040331113603.3852.qmail@mail.supereva.it>
2004-03-31 11:41 ` 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=406AB277.2030503@csr.com \
--to=steven.singer@csr.com \
--cc=bluez-devel@lists.sourceforge.net \
--cc=paolo2278@freemail.it \
/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