Debian Codegraph @

TODO

raw
1 # SPDX-License-Identifier: CC-BY-SA-4.0
2 # SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski <[email protected]>
3
4 TODO list for libgpiod
5
6 ==========
7
8 This document contains the list of things I'd like to have in libgpiod before
9 declaring it "mostly feature-complete". If anyone wants to help, this can
10 serve as the starting point.
11
12 ==========
13
14 * implement a simple daemon for controlling GPIOs in C together with a client
15 program
16
17 This is by far the lowest priority task. Similarly as with the dbus daemon:
18 the goal is to provide a centralized agent controlling GPIOs with a simple
19 interface consisting of a command line client communicating with the server
20 over unix sockets.
21
22 In this case however the goal is to have as few dependencies as possible. This
23 is because for some small systems dbus is overkill. Since we won't be using any
24 standardized protocol, it will take much more effort to implement it correctly.
25
26 ----------
27
28 * improve gpioset --interactive tab completion
29
30 The existing tab completion uses libedit's readline emulation layer which
31 has a few limitations, including not being able to correctly handle quoted
32 line names and being disabled when stdin/stdout are not a tty (which makes
33 testing with gpio-tools-test.bash using coproc problematic).
34
35 One approach that could address both these problems is to bypass the readline
36 emulation and use the libedit API (histedit.h) directly.