From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] hcitool cc timeout - change able ?
Date: Wed, 25 May 2005 16:02:23 +0200 [thread overview]
Message-ID: <1117029743.30044.212.camel@pegasus> (raw)
In-Reply-To: <Pine.GSO.4.58.0505251442560.25684@myrtle.ukc.ac.uk>
Hi Phil,
> could some one please tell me if there is a way to reduce the timeout time
> ? e.g. to 2 ?
>
> I would like to do this, because I like to find out what the link
> quality and rssi of a device is. As
> my bluetooth hardware only supports 1.1 and not 1.2 I have to connect to
> the device first in order to find out the above information. As my list of
> BT devices I would like to find the above info out about is constantly
> growing I have a problem with the hcitool cc timeout, as I do:
>
> hcitool cc BT-address
> hcitool lq BT-address
> hcitool dc BT-address
>
> If the device is in range the three commands are very quick, but if the
> device is not in range the connect command takes a long time till it times
> out.
> So my question is, is there a way to reduce the timeout time ? e.g. to 2
> sec. ?
you are looking for the page timeout. Look at the manual page of
hciconfig.
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&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:[~2005-05-25 14:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-25 13:49 [Bluez-devel] hcitool cc timeout - change able ? Philipp H. Mohr
2005-05-25 14:02 ` Marcel Holtmann [this message]
2005-05-25 14:23 ` Philipp H. Mohr
2005-05-25 14:31 ` 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=1117029743.30044.212.camel@pegasus \
--to=marcel@holtmann.org \
--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