Skip to content

TGLuong/dbus-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dus Example

Building:

make sure you have installed build-essential, pkg-config, libglib2.0-dev

sudo apt install libglib2.0-dev libglib2.0-dev libglib2.0-dev

For building all example, try run:

make all

All example was placed in build directory

Test Dbus Server with gdbus

For get property

gdbus call -e -d com.gialuong.TestServer -o / -m org.freedesktop.DBus.Properties.Get com.gialuong.TestInterface status

For set property

gdbus call -e -d com.gialuong.TestServer -o / -m org.freedesktop.DBus.Properties.Set com.gialuong.TestInterface status "<uint32 10>"

Releases

No releases published

Packages

No packages published