[PATCH] Support for Cochran EMC and Commander Air import
John Van Ostrand
john at vanostrand.com
Tue Oct 7 09:09:30 PDT 2014
Specifically tested with EMC-20H and Commander Air_Nitrox this
commit should support the families for the most part however
there are may be differences in the DC signature, memory size,
and other factors that will prevent opening the device and
obtaining a clean import. Try it with other EMC and Commander
devices and check library ERRORs for the signature information
needed to add support.
Also missing is tank pressure (for Gemini) and support for logbooks
that have rolled old dives off. There is support for dive samples
that have rolled off.
John Van Ostrand (1):
Added support for Cochran EMC and Commander Air import
examples/Makefile.am | 6 +-
examples/cochran_download.c | 299 +++++++++++++
examples/universal.c | 8 +-
include/libdivecomputer/Makefile.am | 3 +-
include/libdivecomputer/cochran.h | 61 +++
include/libdivecomputer/common.h | 3 +
include/libdivecomputer/parser.h | 20 +-
src/Makefile.am | 7 +-
src/cochran_cmdr.c | 66 +++
src/cochran_cmdr.h | 83 ++++
src/cochran_cmdr_parser.c | 202 +++++++++
src/cochran_common.c | 861 ++++++++++++++++++++++++++++++++++++
src/cochran_common.h | 109 +++++
src/cochran_common_parser.c | 157 +++++++
src/cochran_common_parser.h | 80 ++++
src/cochran_emc.c | 67 +++
src/cochran_emc.h | 180 ++++++++
src/cochran_emc_parser.c | 399 +++++++++++++++++
src/descriptor.c | 3 +
src/device.c | 7 +
src/libdivecomputer.symbols | 2 +
src/parser.c | 7 +
22 files changed, 2617 insertions(+), 13 deletions(-)
create mode 100644 examples/cochran_download.c
create mode 100644 include/libdivecomputer/cochran.h
create mode 100644 src/cochran_cmdr.c
create mode 100644 src/cochran_cmdr.h
create mode 100644 src/cochran_cmdr_parser.c
create mode 100644 src/cochran_common.c
create mode 100644 src/cochran_common.h
create mode 100644 src/cochran_common_parser.c
create mode 100644 src/cochran_common_parser.h
create mode 100644 src/cochran_emc.c
create mode 100644 src/cochran_emc.h
create mode 100644 src/cochran_emc_parser.c
--
1.8.3.1
More information about the devel
mailing list