Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tgluong/dbus-example
- Owner: TGLuong
- Created: 2024-03-03T11:46:37.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-07T15:49:13.000Z (11 months ago)
- Last Synced: 2024-04-16T20:27:44.031Z (9 months ago)
- Topics: dbus, gdbus
- Language: C
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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 ""
```