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
Hi Andrea,
> ok, so what value can i use instead of SDP_RETRY_IF_BUSY ?
you simply set the flags parameter to zero and it will abort if it can't
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
ok, so what value can i use instead of SDP_RETRY_IF_BUSY ?
thanks a lot
Andrea
On 9/5/05, Marcel Holtmann <[email protected]> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel