A Simple example of how to create a DBUS service.

Kevin Krammer krammer at kde.org
Tue Oct 22 10:23:36 PDT 2013


On Tuesday, 2013-10-22, 21:41:49, sathishkumar sivagurunathan wrote:

> The service files is listed below.. The file is named as
> org.pulseaudio.genivi.RoutingSender.service.
> 
> # DBus service activation config
> [D-BUS Service]
> Name=org.pulseaudio.genivi.RoutingSender
> Exec=/usr/bin/genivi/ComMain.out
> 
> Then using the dbus send command, I invoke the dbus
> 
> dbus-send --dest='org.pulseaudio.genivi'        \
>             /org/pulseaudio/genivi/RoutingSender              \
>             org.pulseaudio.genivi.RoutingSender   \
>             int32:47
> 
> But I am not able to receive the desired result..

Probably just an error in the mail but check that your actual command has the 
correct value for --dest
The one here in is missing the last part

Cheers,
Kevin 
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20131022/1c7d0c07/attachment.pgp>


More information about the dbus mailing list