[maemo-developers] dbus-send
From: Laszlo T. tlacix at gmail.comDate: Fri Mar 23 19:43:54 EET 2007
- Previous message: SDK_ARMEL can not work with SDK_PC code?
- Next message: dbus-send
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2007/3/23, Mika Yrjölä <exploderi at gmail.com>: > On 3/23/07, Laszlo T. <tlacix at gmail.com> wrote: > > Hello, > > > > Here is an example of using libosso: > > https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_message.c?rev=4852&view=markup > > > > What's the equivalent dbus-send command for osso_rpc_run in this example? > > > > It does not send message: > > run-standalone.sh dbus-send --dest=org.maemo.example_libosso > > /org/maemo/example_libosso > > org.maemo.example_libosso.HelloWorld > Hi, have you made a .service file for the application and put it under > /usr/share/dbus-1/services/ ? At a quick glance your command looks OK. > > (adding --print-reply to the dbus-send options might also give you > additional information about why the launch fails) > Hello, Thanks your answer! Yes, I've made a .service file with this: https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/install_example_libosso.sh?view=markup The message sender works with: (example_message.c) https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_message.c?view=markup The example_libosso.c https://stage.maemo.org/viewcvs.cgi/maemo/projects/tools/trunk/maemo_testing/maemo-examples/example_libosso.c?rev=4852&view=markup gives the "HelloWorld" from example_message.c, but my dbus-send does not work. It runs the example_libosso, but not send message. I tried with --print-reply: run-standalone.sh dbus-send --print-reply --dest=org.maemo.example_libosso/org/maemo/example_libosso org.maemo.example_libosso.HelloWorld output: method return sender=:1.56 -> dest=:1.55 Laci -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070323/93bab9aa/attachment.htm
- Previous message: SDK_ARMEL can not work with SDK_PC code?
- Next message: dbus-send
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]