genivi-ipc@lists.genivi.org

Development list for inter process communication (IPC) related topics

View all threads

Proxy won't register

CP
Ciccio Pasticcio
Tue, Aug 21, 2018 9:23 AM

Hi all, I'm trying CommonAPI and DBus on my PC before switching to an
embedded board (still have problem there). I managed to compile and run an
Hello World example. Meanwhile the service register correctly to the dbus
(at least I think that is correct), the proxy on client side never come up.
After starting the Client and Service:
The command

dbus-send --session --dest=org.freedesktop.DBus --type=method_call
--print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames

prints:

method return time=1534842132.530056 sender=org.freedesktop.DBus ->
destination=:1.1030 serial=3 reply_serial=2
array [
... some gnome stuffs ...
string
"commonapi.examples.E01HelloWorld.v0_1_commonapi.examples.myService"
... some more gnome stuffs ...
]

so I guess that the service is up and running correctly.

On the client side the proxy never registers.

I made a repo on github with my code, available here
https://github.com/gabbla/commonapi_dbus

Thanks in advance,
Gabriele

Hi all, I'm trying CommonAPI and DBus on my PC before switching to an embedded board (still have problem there). I managed to compile and run an Hello World example. Meanwhile the service register correctly to the dbus (at least I think that is correct), the proxy on client side never come up. After starting the Client and Service: The command dbus-send --session --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames prints: method return time=1534842132.530056 sender=org.freedesktop.DBus -> destination=:1.1030 serial=3 reply_serial=2 array [ ... some gnome stuffs ... string "commonapi.examples.E01HelloWorld.v0_1_commonapi.examples.myService" ... some more gnome stuffs ... ] so I guess that the service is up and running correctly. On the client side the proxy never registers. I made a repo on github with my code, available here https://github.com/gabbla/commonapi_dbus Thanks in advance, Gabriele