From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: From: Andrea Carlevato To: bluez-devel@lists.sourceforge.net Subject: Re: [Bluez-devel] sdp_connect, how to make it shorter ? In-Reply-To: <1125922154.11955.17.camel@pegasus> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8528_13711334.1126100584072" References: <1125922154.11955.17.camel@pegasus> 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, 7 Sep 2005 15:43:04 +0200 ------=_Part_8528_13711334.1126100584072 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ok, so what value can i use instead of SDP_RETRY_IF_BUSY ? thanks a lot Andrea On 9/5/05, Marcel Holtmann wrote: >=20 > Hi Andrea, >=20 > > 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 ? >=20 > don't use the SDP_RETRY_IF_BUSY flag in sdp_connect(). >=20 > Regards >=20 > Marcel >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle=20 > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > 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 > ------=_Part_8528_13711334.1126100584072 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ok, so what value can i use instead of SDP_RETRY_IF_BUSY ?

thanks a lot
Andrea



On 9/5/05, Marcel Holtmann <marce= l@holtmann.org> wrote:
Hi Andrea,

> i need to browse a set of random bt device for
&g= t; a specific sdp profile. So use a function like
> the "do_sear= ch" of sdptool.
> But when an inquired bt device does not
> aswer the request, the sdp_connect tries
> for a long time to es= tabilish 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 So= ftware Conference & EXPO
September 19-22, 2005 * San Francisco, CA *= Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * T= esting & 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

------=_Part_8528_13711334.1126100584072-- ------------------------------------------------------- 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