Re: Asynchronous SDP With DBUS API

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <1202920228.7664.419.camel@violet>
Hi Robert,

> I've been playing around with the DBUS API over the past week or two
> and notice a large number of the methods implemented are asynchronous
> and send back signals when results from them are returned, however,
> this doesn't appear to be the case with an SDP enquiry placed through
> the service which appears to run synchronously.
>  
> What's the reason behind this? are we not able to have it emit a
> signal such as 'serviceFound()' or something to that effect? is this
> down to a limitation of the hardware? the stack? or am I just coding
> against the API incorrectly?
>  
> Has anyone been able to find an Asynchronous implementation for SDP
> enquiries? even if its some form of threaded work around.

actually D-Bus method calls are always asynchronous.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.