From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-devel] sdp_connect, how to make it shorter ? From: Marcel Holtmann To: bluez-devel@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain Message-Id: <1125922154.11955.17.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: Mon, 05 Sep 2005 14:09:14 +0200 Hi Andrea, > i need to browse a set of random bt device for > a specific sdp profile. So use a function like > the "do_search" of sdptool. > But when an inquired bt device does not > aswer the request, the sdp_connect tries > for a long time to estabilish a connection, > and this is bad for my project. > How can i make much shorter the the sdp_connect > timeout ? don't use the SDP_RETRY_IF_BUSY flag in sdp_connect(). Regards Marcel ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel