* [Bluez-devel] sdp_connect, how to make it shorter ?
@ 2005-08-30 13:46 Andrea Carlevato
2005-09-05 12:09 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Andrea Carlevato @ 2005-08-30 13:46 UTC (permalink / raw)
To: bluez-devel
[-- Attachment #1: Type: text/plain, Size: 387 bytes --]
Hello to all,
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 ?
thanks a lot
Andrea
[-- Attachment #2: Type: text/html, Size: 453 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] sdp_connect, how to make it shorter ?
2005-08-30 13:46 [Bluez-devel] sdp_connect, how to make it shorter ? Andrea Carlevato
@ 2005-09-05 12:09 ` Marcel Holtmann
2005-09-07 13:43 ` Andrea Carlevato
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2005-09-05 12:09 UTC (permalink / raw)
To: bluez-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] sdp_connect, how to make it shorter ?
2005-09-05 12:09 ` Marcel Holtmann
@ 2005-09-07 13:43 ` Andrea Carlevato
2005-09-07 14:12 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Andrea Carlevato @ 2005-09-07 13:43 UTC (permalink / raw)
To: bluez-devel
[-- Attachment #1: Type: text/plain, Size: 1204 bytes --]
ok, so what value can i use instead of SDP_RETRY_IF_BUSY ?
thanks a lot
Andrea
On 9/5/05, Marcel Holtmann <marcel@holtmann.org> wrote:
>
> 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
>
[-- Attachment #2: Type: text/html, Size: 1722 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-07 14:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 13:46 [Bluez-devel] sdp_connect, how to make it shorter ? Andrea Carlevato
2005-09-05 12:09 ` Marcel Holtmann
2005-09-07 13:43 ` Andrea Carlevato
2005-09-07 14:12 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox