From: James Cameron <james.cameron@hp.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] setting inquiry and inquiry_scan parameters
Date: Fri, 10 Dec 2004 09:56:45 +1100 [thread overview]
Message-ID: <20041209225645.GB27468@hp.com> (raw)
In-Reply-To: <5f30e26104120912237f20ea80@mail.gmail.com>
On Thu, Dec 09, 2004 at 02:23:33PM -0600, Jeff Wilson wrote:
> I realize this post is over 9 months old, but I'm trying to write an
> application that does these very kinds of things. Can someone tell me
> more about the specifics of how to tweak these numbers? I'm guessing
> it's related to HCI ... ?
It's in the man page for hciconfig, the inqparams keyword. It took me a
while to figure out experimentally what paging and inquiry were; they
weren't explained in the man page. But I ended up with my application
modifying the inquiry responsiveness in expectation of a connection. My
application was two Debian add-on packages for setting up a poor-mans
wireless IP using two dongles.
http://quozl.linux.org.au/bluetooth/
e.g. my quozl-bluez-server package increases the paging and inquiry rate
in anticipation of a connection, in a per-package hotplug.sh script;
hciconfig hci0 pageparams 18:512
hciconfig hci0 inqparams 18:512
then once the connection arrives, the dev-up.sh script returns the
parameters to what I once found they were;
hciconfig hci0 pageparams 18:2048
hciconfig hci0 inqparams 18:2048
I've no idea what the side effects may be, but it made it more
responsive.
No doubt an application can do what hciconfig does if it needs to.
Check the source.
--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2004-12-09 22:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-09 20:23 [Bluez-devel] setting inquiry and inquiry_scan parameters Jeff Wilson
2004-12-09 20:37 ` Marcel Holtmann
2004-12-10 9:37 ` Peter Wippich
2004-12-09 22:56 ` James Cameron [this message]
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=20041209225645.GB27468@hp.com \
--to=james.cameron@hp.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