dbus: add the D-Bus daemon, command-line client and tests
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 12 Aug 2024 08:22:25 +0000 (10:22 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 13 Aug 2024 08:45:25 +0000 (10:45 +0200)
commita5ab76da1e0a7475c42336829c611f438bffd584
tree903820e285843d1de76b3da4b0f961a94bf9eaf9
parente090088c21b7e52f2f407dddd8d6f113182660d0
dbus: add the D-Bus daemon, command-line client and tests

Add the D-Bus API definition and its implementation in the form of a GPIO
manager daemon and a companion command-line client as well as some
additional configuration and data files (systemd service, example udev
configuration, etc.) and test suites.

Tested-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Link: https://lore.kernel.org/r/20240812-dbus-v5-4-ead288509217@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
46 files changed:
Makefile.am
README
TODO
configure.ac
dbus/Makefile.am [new file with mode: 0644]
dbus/client/.gitignore [new file with mode: 0644]
dbus/client/Makefile.am [new file with mode: 0644]
dbus/client/common.c [new file with mode: 0644]
dbus/client/common.h [new file with mode: 0644]
dbus/client/detect.c [new file with mode: 0644]
dbus/client/find.c [new file with mode: 0644]
dbus/client/get.c [new file with mode: 0644]
dbus/client/gpiocli-test.bash [new file with mode: 0755]
dbus/client/gpiocli.c [new file with mode: 0644]
dbus/client/info.c [new file with mode: 0644]
dbus/client/monitor.c [new file with mode: 0644]
dbus/client/notify.c [new file with mode: 0644]
dbus/client/reconfigure.c [new file with mode: 0644]
dbus/client/release.c [new file with mode: 0644]
dbus/client/request.c [new file with mode: 0644]
dbus/client/requests.c [new file with mode: 0644]
dbus/client/set.c [new file with mode: 0644]
dbus/client/wait.c [new file with mode: 0644]
dbus/data/90-gpio.rules [new file with mode: 0644]
dbus/data/Makefile.am [new file with mode: 0644]
dbus/data/gpio-manager.service [new file with mode: 0644]
dbus/data/io.gpiod1.conf [new file with mode: 0644]
dbus/lib/Makefile.am [new file with mode: 0644]
dbus/lib/gpiodbus.h [new file with mode: 0644]
dbus/lib/io.gpiod1.xml [new file with mode: 0644]
dbus/manager/.gitignore [new file with mode: 0644]
dbus/manager/Makefile.am [new file with mode: 0644]
dbus/manager/daemon.c [new file with mode: 0644]
dbus/manager/daemon.h [new file with mode: 0644]
dbus/manager/gpio-manager.c [new file with mode: 0644]
dbus/manager/helpers.c [new file with mode: 0644]
dbus/manager/helpers.h [new file with mode: 0644]
dbus/tests/.gitignore [new file with mode: 0644]
dbus/tests/Makefile.am [new file with mode: 0644]
dbus/tests/daemon-process.c [new file with mode: 0644]
dbus/tests/daemon-process.h [new file with mode: 0644]
dbus/tests/helpers.c [new file with mode: 0644]
dbus/tests/helpers.h [new file with mode: 0644]
dbus/tests/tests-chip.c [new file with mode: 0644]
dbus/tests/tests-line.c [new file with mode: 0644]
dbus/tests/tests-request.c [new file with mode: 0644]