public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: alexj@nada.kth.se
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Scan Time for hcitool
Date: Fri, 08 Oct 2004 13:24:45 +0200	[thread overview]
Message-ID: <1097234685.4407.3.camel@pegasus> (raw)
In-Reply-To: <1302.213.112.80.112.1097230559.squirrel@webmail.nada.kth.se>

Hi Alex,

> I'm using hcitool to search for a number of known HW-addresses, to see of
> someones in the (coffee)room. Corny, but fun.
> Example:
> hcitool name DE:39:EF:98:01:34
> 
> However, If all phones/devices are present, the script runs quickliy,
> traversin through the list. But, if one is missing it takes a very long
> time before it terminates. Setting a timeoutflag, doesn't seem to do the
> trick. And I can't spawn more cild processes, because the first one locks
> up the HCi device, of course.
> 
> What can be done to shorten the seek->timeout time for non-present devices
> that have known HW-addresses?

I don't know if it also works for the name resolve, but it should be and
the timeout parameter you are looking for is called page timeout and can
be set via hciconfig.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-10-08 11:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-08 10:15 [Bluez-users] Scan Time for hcitool alexj
2004-10-08 11:24 ` Marcel Holtmann [this message]
2004-10-08 18:10   ` [Bluez-users] Hcitool rssi/tpl/lq Chris Dawson
2004-10-08 19:11     ` 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=1097234685.4407.3.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=alexj@nada.kth.se \
    --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