diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-11-20 12:28:12 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-20 15:04:37 -0800 |
commit | 19aa4245b4b8509b7147c16ac9d3265f607731ac (patch) | |
tree | 95349c3ac58e9b1331b265db62f3238a6d482234 /libdivecomputer.h | |
parent | 7cedc4d48f574aa763771c40017c78279302c129 (diff) | |
download | subsurface-19aa4245b4b8509b7147c16ac9d3265f607731ac.tar.gz |
Remember serial and firmware for divecomputers
This is not the right way to get serial numbers and firmware versions. The
libdivecomputer interface here is simply broken. Those ARE NOT numbers.
But until we have the capability in libdivecomputer to return reasonable
strings to us, this could be a stop gap measure to help us understand how
these are formatted.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r-- | libdivecomputer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h index af51854a0..795c4ae85 100644 --- a/libdivecomputer.h +++ b/libdivecomputer.h @@ -19,7 +19,7 @@ typedef struct device_data_t { dc_descriptor_t *descriptor; const char *vendor, *product, *devname; - const char *model; + const char *model, *serial, *firmware; uint32_t deviceid, diveid; dc_device_t *device; dc_context_t *context; |