From b8a4730661be478d890aa3bc327d8af76ef4b86b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 25 Oct 2012 20:15:39 -0700 Subject: Expand Uemis Zurich download support With this commit we not only use the getDivelogs command but also the getDive command for each of the dives that was downloaded. Oddly, that makes quite a bit of redundant (and at times slightly contradictory) data available, but also many new things. We now get weight, suit and notes that were stored with a dive in the logbook on the divecomputer. There are a ton more data available that we don't use, yet. For example information about altitude, a decoindex, dive type and dive activity, other equipment information, etc. I still need to decide how much of this I want to make available in Subsurface (and how I want to present this - after all most of this is not available from other dive computers). Signed-off-by: Dirk Hohndel --- uemis.h | 1 + 1 file changed, 1 insertion(+) (limited to 'uemis.h') diff --git a/uemis.h b/uemis.h index baa6783a4..4cb5c2b47 100644 --- a/uemis.h +++ b/uemis.h @@ -8,6 +8,7 @@ #include void uemis_parse_divelog_binary(char *base64, void *divep); +void decode(uint8_t *in, uint8_t *out, int len); typedef struct { uint16_t dive_time; -- cgit v1.2.3-70-g09d2