imported D-Bus C++ library
git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@7382 30a43799-04e7-0310-8b2b-ea0d24f86d0e
This commit is contained in:
commit
acfeb85b87
89 changed files with 92818 additions and 0 deletions
11
examples/README
Normal file
11
examples/README
Normal file
|
@ -0,0 +1,11 @@
|
|||
This is a very simple use case of the c++ wrappers to write a DBus service, you can test it by running ./echo_server and then issuing the following commands:
|
||||
|
||||
dbus-send --dest=org.test.cbus --type=method_call --print-reply /org/test/cbus/EchoServer org.test.cbus.EchoServer.Echo string:"hello world"
|
||||
|
||||
method return sender=:1.34 -> dest=:1.36
|
||||
string "hello world"
|
||||
|
||||
dbus-send --dest=org.test.cbus --type=method_call --print-reply /org/test/cbus/EchoServer org.test.cbus.EchoServer.Echo int32:10
|
||||
|
||||
Error org.freedesktop.DBus.Error.InvalidArgs: String value expected
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue