From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-users] Question regarding rfcomm-timeout From: Marcel Holtmann To: Thomas Eller Cc: BlueZ Mailing List In-Reply-To: <40570F3F.90607@identisys.de> References: <40570F3F.90607@identisys.de> Content-Type: text/plain Message-Id: <1079448460.3307.96.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: Tue, 16 Mar 2004 15:47:40 +0100 Hi Thomas, > I'm using the rfcomm executable from bluez-utils to connect to a > bluetooth device. It looks like this: > > rfcomm connect 0 xx:xx:xx:xx:xx:xx 1 > > If the remote device is not present the rfcomm-connect ends with a > timeout after ~20s with the error-message: "Can't connect..... ...Host > is down." > > Where can i push this 20s-timeout down to a lower value ??? > > I see in the source-code that a socket-connection is made, so possibly > there may be a parameter that can be configured through the > proc-filesystem ?!? the timeout you talk about is the page timeout and it is a HCI specific parameter. Regards Marcel ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users