]> sigrok.org Git - libsigrok.git/commitdiff
serial: prepare alternative transports for serial communication
authorGerhard Sittig <redacted>
Sat, 30 Sep 2017 23:21:08 +0000 (00:21 +0100)
committerUwe Hermann <redacted>
Sun, 2 Jun 2019 18:39:02 +0000 (20:39 +0200)
Add an indirection between the common serial communication code and the
libserialport specific support code. Prepare the use of alternative
transports like USB HID in the future. Decide in the open() routine
which transport to use for subsequent operations (based on port names).

In theory only the transport specific layer depends on the libserialport
library's availability. In this implementation all support for serial
communication still depends on the HAVE_LIBSERIALPORT preprocessor
symbol. This needs to get addressed in later commits.


No differences found