diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-02-17 22:28:27 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-17 14:07:29 -0800 |
commit | 6c0a6af4aa47cfb6a01ecbcef7138400c5ae3ab9 (patch) | |
tree | de6e55218221632fb783b3d8b10ecc9d49fb349e /parse-xml.c | |
parent | 265128451f5134082cf70dec8df2b381ed3b7519 (diff) | |
download | subsurface-6c0a6af4aa47cfb6a01ecbcef7138400c5ae3ab9.tar.gz |
Adding more Suunto events
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c index b11970137..3c5bfe063 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -2011,9 +2011,19 @@ extern int dm4_events(void *handle, int columns, char **data, char **column) strcpy(cur_event.name, "deco"); break; case 22: + case 32: /* 22 Mandatory safety stop violation */ + /* 32 Deep stop violation */ strcpy(cur_event.name, "violation"); break; + case 30: + /* Tissue level warning */ + strcpy(cur_event.name, "tissue warning"); + break; + case 37: + /* Tank pressure alarm */ + strcpy(cur_event.name, "tank pressure"); + break; case 257: /* 257 Dive active */ /* This seems to be given after surface @@ -2028,6 +2038,23 @@ extern int dm4_events(void *handle, int columns, char **data, char **column) strcpy(cur_event.name, "bookmark"); } break; + case 259: + /* Deep stop */ + strcpy(cur_event.name, "Deep stop"); + break; + case 260: + /* Deep stop */ + strcpy(cur_event.name, "Deep stop cleared"); + break; + case 266: + /* Mandatory safety stop activated */ + strcpy(cur_event.name, "safety stop (mandatory)"); + break; + case 267: + /* Mandatory safety stop deactivated */ + /* DM5 shows this only on event list, not on the + * profile so skipping as well for now */ + break; default: strcpy(cur_event.name, "unknown"); cur_event.value = atoi(data[2]); |