linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Singer <steven.singer@csr.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Inconsistencies in hcitool inq output
Date: Mon, 23 Jan 2006 11:28:31 +0000	[thread overview]
Message-ID: <43D4BDDF.5060907@csr.com> (raw)
In-Reply-To: <20060122205013.dvksy2wkrzk04s08@optimist.hostomega.com>

jwright@hasborg.com wrote:
> antimony:~ $ hcitool inq
> Inquiring ...
>         11:11:11:11:11:12       clock offset: 0x2caf    class: 0x3e0100
>         00:02:72:47:38:FC       clock offset: 0x60c3    class: 0x020300
>         00:60:57:AD:D0:6B       clock offset: 0x691c    class: 0x500204
>         00:02:EE:6E:72:D3       clock offset: 0x1a0e    class: 0x500204
> antimony:~ $ hcitool inq --flush
> Inquiring ...
>         00:02:EE:6E:72:D3       clock offset: 0x1a0f    class: 0x500204
>         11:11:11:11:11:12       clock offset: 0x2caf    class: 0x3e0100
>         00:02:72:47:38:FC       clock offset: 0x60c3    class: 0x020300
>         00:60:57:AD:D0:6B       clock offset: 0x691d    class: 0x500204
> antimony:~ $
> 
> In the 1st scan, the device at 00:02:72:47:38:fc is identified with the same
> class information as the device at 00:60:57:ad:d0:6b.  In the 2nd scan a few
> seconds later, the device is is correctly identified with a class of 0x020300.

Huh. I'm confused. Your description doesn't match your log. If we gather
the results together by device address using:

sort | awk '/clock offset/ {if (a != $1) {printf "\n%s", $1}; a = $1; \
  printf " %s %s", $4, $6} END {printf "\n";}'

we get (if I label the columns):

Address           offset class    offset class
00:02:72:47:38:FC 0x60c3 0x020300 0x60c3 0x020300
00:02:EE:6E:72:D3 0x1a0e 0x500204 0x1a0f 0x500204
00:60:57:AD:D0:6B 0x691c 0x500204 0x691d 0x500204
11:11:11:11:11:12 0x2caf 0x3e0100 0x2caf 0x3e0100

The device 00:02:72:47:38:fc is identified with class 0x020300 in both
scans.

The order in which the devices are reported for the two scans is
different, but that's to be expected, as is the slight change in some
of the clock offsets.

Have I missed something? Did you accidentally post the wrong log?

	- Steven
-- 


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.html


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  parent reply	other threads:[~2006-01-23 11:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-23  1:50 [Bluez-users] Inconsistencies in hcitool inq output jwright
2006-01-23  8:09 ` Marcel Holtmann
2006-01-23 11:28 ` Steven Singer [this message]
2006-01-23 19:48   ` Joshua Wright

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=43D4BDDF.5060907@csr.com \
    --to=steven.singer@csr.com \
    --cc=bluez-users@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;
as well as URLs for NNTP newsgroup(s).