Andrew Ramsay ([EMAIL PROTECTED]) wrote:
> I started off with the basic example program which just connects to the 
> session bus, lists the services available, then exits. That works fine 
> with both session and system buses. I then tried to modify it slightly to 
> obtain a proxy for the "com.nokia.btcond" service, which didn't work until 
> I discovered you had to connect to the system rather than the session bus. 
> Once I'd got the proxy, I tried to call the rfcomm_bind method as 
> suggested in the wiki. However, all I get back is an error saying that 
> this method doesn't exist on the com.nokia.btcond.request interface. 
> Calling any of the other methods results in the error 
> "com.nokia.btcond.invalid_dev", which is supposed to indicate an invalid 
> BDA from what I can tell, although the address I'm using is definitely 
> correct.
> 
> Can anyone help me out here? As I said, I have no previous experience with 
> D-BUS programming, so I may well be doing something very wrong and just 
> haven't noticed yet. I'm using the Glib bindings for D-BUS since that was 
> what the example code used. If anyone has actually done this already I'd 
> be very interested to hear how you did it.

I actually don't really have any experience, but it might be helpful to
you to watch the output of "dbus-monitor --system" in an xterm. There
you can at least partially follow the signals/commands that go over the
dbus. Maybe you then gain some information how this is supposed to work.

[Sorry, this Mail should have gone out sooner, but I was unable to send
Mail for a while]

Hope this helps,
         Simon
-- 
              [EMAIL PROTECTED]              http://simon.budig.de/
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to