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>
This commit is contained in:
Dirk Hohndel 2014-11-20 12:28:12 -08:00
parent 7cedc4d48f
commit 19aa4245b4
2 changed files with 25 additions and 6 deletions

View file

@ -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;