Mercurial > public > ostc4
comparison Common/Inc/data_exchange.h @ 955:9b29995d6619 Evo_2_23 tip
GNSS backup position:
In the previous implementation a position had to be provided by the module in order to be stored in the log. This may cause a wrong position entry (default) in the log, for example if signal is lost while preparing for the dive in the water. To avoid this the last received position will be used for ~2 hours => Diver may take the dive side position before starting with the dive preparation. The last known position will be display in the GNSS position search window as well.
author | Ideenmodellierer |
---|---|
date | Wed, 01 Jan 2025 20:37:17 +0100 |
parents | e9c37071933b |
children |
comparison
equal
deleted
inserted
replaced
954:4e4fbd73e329 | 955:9b29995d6619 |
---|---|
54 #define CO2_WARNING_LEVEL_PPM (2000u) /* Early warning to indicate unexpected high co2 concentration (yellow) */ | 54 #define CO2_WARNING_LEVEL_PPM (2000u) /* Early warning to indicate unexpected high co2 concentration (yellow) */ |
55 #define CO2_ALARM_LEVEL_PPM (5000u) /* starting by this level CO2 has a negative impact on health (long exposure) */ | 55 #define CO2_ALARM_LEVEL_PPM (5000u) /* starting by this level CO2 has a negative impact on health (long exposure) */ |
56 | 56 |
57 #define GNSS_ALIVE_STATE_ALIVE (0x01u) /* Communication to module active */ | 57 #define GNSS_ALIVE_STATE_ALIVE (0x01u) /* Communication to module active */ |
58 #define GNSS_ALIVE_STATE_TIME (0x02u) /* Time information valid */ | 58 #define GNSS_ALIVE_STATE_TIME (0x02u) /* Time information valid */ |
59 #define GNSS_ALIVE_BACKUP_POS (0x04u) /* Backup position not older than x hours */ | |
59 | 60 |
60 enum MODE | 61 enum MODE |
61 { | 62 { |
62 MODE_SURFACE = 0, | 63 MODE_SURFACE = 0, |
63 MODE_DIVE = 1, | 64 MODE_DIVE = 1, |