Re: [maemo-developers] btcond / d-bus problems

2006-01-01 Thread Simon Budig
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.no

Re: [maemo-developers] btcond / d-bus problems[MESSAGE NOT SCANNED]

2005-12-28 Thread Andrew Ramsay
On Wed, 28 Dec 2005, Johan Hedberg wrote: On Wed, Dec 28, 2005, Andrew Ramsay wrote: That seems to have done the trick, I reflashed it, installed xterm and ran the dbus-send command again, and this time it popped up a window asking for the passcode then returned "/dev/rfcomm0". Thanks for your

Re: [maemo-developers] btcond / d-bus problems

2005-12-28 Thread Johan Hedberg
On Wed, Dec 28, 2005, Andrew Ramsay wrote: > That seems to have done the trick, I reflashed it, installed xterm and > ran the dbus-send command again, and this time it popped up a window asking > for the passcode then returned "/dev/rfcomm0". Thanks for your help. Nice to hear that it's working.

Re: [maemo-developers] btcond / d-bus problems

2005-12-28 Thread Andrew Ramsay
On Wed, 28 Dec 2005, Andrew Ramsay wrote: Running that gives me exactly the same error as the programmatic method. I'm about to try reflashing the N770 with the last software update file, in case something I've done to it is causing the problems. That seems to have done the trick, I reflashed

Re: [maemo-developers] btcond / d-bus problems[MESSAGE NOT SCANNED]

2005-12-28 Thread Andrew Ramsay
On Wed, 28 Dec 2005, Johan Hedberg wrote: On Wed, Dec 28, 2005, Andrew Ramsay wrote: Is there anything obviously wrong with that? Nothing obvious, except that you should be passing a pointer to the string (i.e. char **) when calling get_args (and when done with the returned string free it wit

Re: [maemo-developers] btcond / d-bus problems

2005-12-28 Thread Johan Hedberg
On Wed, Dec 28, 2005, Andrew Ramsay wrote: > Is there anything obviously wrong with that? Nothing obvious, except that you should be passing a pointer to the string (i.e. char **) when calling get_args (and when done with the returned string free it with dbus_free). However, that shouldn't cause t

Re: [maemo-developers] btcond / d-bus problems

2005-12-28 Thread Andrew Ramsay
On Tue, 27 Dec 2005, Johan Hedberg wrote: Hi Andrew, On Tue, Dec 27, 2005, Andrew Ramsay 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 mod

Re: [maemo-developers] btcond / d-bus problems

2005-12-27 Thread Johan Hedberg
Hi Andrew, On Tue, Dec 27, 2005, Andrew Ramsay 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 f

[maemo-developers] btcond / d-bus problems

2005-12-27 Thread Andrew Ramsay
I've been trying to connect a Nokia LD-1W Bluetooth GPS unit to an N770 programmatically. The manual method on the wiki (hcitool scan + rfcomm bind ) works fine, but I haven't been able to get anywhere with the btcond D-BUS interface linked from the wiki page. I've got no real experience of us