From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-users] Scan Time for hcitool From: Marcel Holtmann To: alexj@nada.kth.se Cc: BlueZ Mailing List In-Reply-To: <1302.213.112.80.112.1097230559.squirrel@webmail.nada.kth.se> References: <1302.213.112.80.112.1097230559.squirrel@webmail.nada.kth.se> Content-Type: text/plain Message-Id: <1097234685.4407.3.camel@pegasus> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 08 Oct 2004 13:24:45 +0200 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