The purpose of the new I/O interface is to provide a common interface for all existing I/O implementations (serial, IrDA, bluetooth and USB HID). With a common interface the dive computer backends can more easily use different I/O implementations at runtime, without needing significant code changes. For example bluetooth enabled devices can easily switch between native bluetooth communication and serial port emulation mode. The new interface is modelled after the existing serial communication api. Implementations where some of those functions are meaningless (e.g. IrDA, bluetooth and USB), can just leave those functions unimplemented (causing the call to fail with DC_STATUS_UNSUPPORTED), or implement it as a no-op (always return DC_STATUS_SUCCESS).
27 lines
458 B
Makefile
27 lines
458 B
Makefile
libdivecomputerdir = $(includedir)/libdivecomputer
|
|
libdivecomputer_HEADERS = \
|
|
version.h \
|
|
common.h \
|
|
context.h \
|
|
buffer.h \
|
|
descriptor.h \
|
|
iterator.h \
|
|
iostream.h \
|
|
device.h \
|
|
parser.h \
|
|
datetime.h \
|
|
units.h \
|
|
suunto_eon.h \
|
|
suunto_vyper2.h \
|
|
suunto_d9.h \
|
|
reefnet_sensus.h \
|
|
reefnet_sensuspro.h \
|
|
reefnet_sensusultra.h \
|
|
oceanic_atom2.h \
|
|
oceanic_veo250.h \
|
|
oceanic_vtpro.h \
|
|
hw_ostc.h \
|
|
hw_frog.h \
|
|
hw_ostc3.h \
|
|
atomics_cobalt.h
|