linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Singer <steven.singer@csr.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Inquiry Time
Date: Thu, 08 Dec 2005 12:14:55 +0000	[thread overview]
Message-ID: <439823BF.1@csr.com> (raw)
In-Reply-To: <45bf5ff80512070503g6cfc5189hec21ab22768ed9cd@mail.gmail.com>

Artur Almeida wrote:
>  The Bt specification says that once you send a inquiry request, you should
> get all the responses +-11 seconds. Many times i send an inquiry and it
> lasts a lot more then that (Sometimes it goes over a minute). Can someone
> explain how can i limit the inquiry time to the 11 sec window? Why does this
> happens?  Also, where can i find a detailed document with all the features
> and parameters of the hciconfig?

I think the way the spec phrases it is that you must inquire for at least
10.24 seconds to have a good probability of picking up all devices.
However, it doesn't say that the inquiry process will stop after 10.24
seconds. The host specifies how long it wants to inquire for in one of
the parameters to HCI_Inquiry. If the host says to inquire for 30
seconds (or whatever) then the chip quite happily will.

hcidump -X -V should reveal the parameters to the HCI_Inquiry command.
>From there you should be able to work out how long the chip has been
told to inquire for.

	- Steven
-- 


This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com


-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  parent reply	other threads:[~2005-12-08 12:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-07 13:03 [Bluez-devel] Inquiry Time Artur Almeida
2005-12-07 13:13 ` Marcel Holtmann
2005-12-08  0:33   ` Artur Almeida
2005-12-08  5:43     ` Marcel Holtmann
2005-12-08 12:14 ` Steven Singer [this message]
2005-12-10 18:55   ` Artur Almeida
2005-12-10 19:05     ` 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=439823BF.1@csr.com \
    --to=steven.singer@csr.com \
    --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;
as well as URLs for NNTP newsgroup(s).