summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parse-xml.c27
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]);