Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tgluong/dbus-example

dbus example
https://github.com/tgluong/dbus-example

dbus gdbus

Last synced: about 2 months ago
JSON representation

dbus example

Awesome Lists containing this project

README

        

# Dus Example

### Building:
make sure you have installed `build-essential`, `pkg-config`, `libglib2.0-dev`
``` bash
sudo apt install libglib2.0-dev libglib2.0-dev libglib2.0-dev
```
For building all example, try run:
``` bash
make all
```
All example was placed in `build` directory

### Test Dbus Server with `gdbus`

For get property
``` bash
gdbus call -e -d com.gialuong.TestServer -o / -m org.freedesktop.DBus.Properties.Get com.gialuong.TestInterface status
```

For set property
``` bash
gdbus call -e -d com.gialuong.TestServer -o / -m org.freedesktop.DBus.Properties.Set com.gialuong.TestInterface status ""
```