Return-Path: Subject: Re: [Bluez-devel] l2ping and timeout From: Marcel Holtmann To: bluez-devel@lists.sourceforge.net In-Reply-To: <4299F497.5080608@egabriel.de> References: <4295E697.9060802@palmsource.com> <4299F497.5080608@egabriel.de> Content-Type: text/plain Message-Id: <1117390157.7072.98.camel@pegasus> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun, 29 May 2005 20:09:17 +0200 Hi Ligi, > I am confused about l2ping. The man says: > -c count > Send count number of packets then exit. > > -c timeout > Wait timeout for the response. no it does not. > I need it to determine if a device is in range or out of range or off. > If anyone has even an better Idea than l2ping this would help me too. > A fast response when the Device is in range would be cool cuz the > early my light switches on the less I stumble ... Use the periodic inquiry feature of Bluetooth through the HCI raw socket for this. Regards Marcel ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel