Return-Path: Subject: Re: [Bluez-devel] about connection timeout From: Marcel Holtmann To: bluez-devel@lists.sourceforge.net In-Reply-To: <422BC615.2060600@avantwave.com> References: <422BC615.2060600@avantwave.com> Content-Type: text/plain Message-Id: <1110390909.5462.26.camel@notepaq> 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: Wed, 09 Mar 2005 18:55:09 +0100 Hi, > How can i know there is connection error? you can look at the error code of the connect() call or check with select() or poll() on that socket. Or you can open a HCI raw socket and look for a HCI disconnect event. > And when i want to > reconnect the other side, do i need to reset the bluetooth stack ? No. Regards Marcel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel