diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2015-04-04 01:07:59 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-04-04 10:33:49 -0700 |
commit | 3ca4e14d5c4f758ac3754619fea78bd6d7070177 (patch) | |
tree | 98a324891a43998764bfcbe9fa4d9f7388760b6d /file.h | |
parent | ed6ae14a9f6f608cb8ca72e8982806ea03c43571 (diff) | |
download | subsurface-3ca4e14d5c4f758ac3754619fea78bd6d7070177.tar.gz |
OSTCTools-Add support to import .dive files
OSTCTools is a windows based software by Robert Angeymar which performs
configuration upgrade, memory analysis and download tasks for H&W OSTC
devices.
Downloaded dives are stored in files (one archive each) with the raw
binary data heavily padded at the begining of the file, and some other
data not included in H&W dive header protocol as the device's serial
number.
The import function simply takes the raw data part of the file and lets
libdivecomputer do the parseing.
Then adds some additional info as OSTC reported dive number and serial
device number.
Please note that OSTCTools is *not* a real logging software, it simply
gets the DC raw data, so there isn't any information about dive site,
equipment and so.
Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9,6 +9,7 @@ struct memblock { extern int try_to_open_cochran(const char *filename, struct memblock *mem); extern int try_to_open_liquivision(const char *filename, struct memblock *mem); extern void datatrak_import(const char *file, struct dive_table *table); +extern void ostctools_import(const char *file, struct dive_table *table); #ifdef __cplusplus extern "C" { |