Mercurial > public > ostc4
comparison Common/Inc/data_central.h @ 941:6d8ae8fbccf5 Evo_2_23
Added gnss to logbook data:
The gnss position is now available in the logbook. It is stored as event (7:2) at the start of the dive. The position will be shown in the logbook page 1 in the top middle position.
| author | Ideenmodellierer |
|---|---|
| date | Mon, 16 Dec 2024 19:06:37 +0100 |
| parents | 4a406e873a95 |
| children | 44599695df41 |
comparison
equal
deleted
inserted
replaced
| 940:4a406e873a95 | 941:6d8ae8fbccf5 |
|---|---|
| 167 | 167 |
| 168 typedef struct | 168 typedef struct |
| 169 { | 169 { |
| 170 float fLat; | 170 float fLat; |
| 171 float fLon; | 171 float fLon; |
| 172 }SGnssCoord; | |
| 173 | |
| 174 typedef struct | |
| 175 { | |
| 176 SGnssCoord coord; | |
| 172 uint8_t alive; | 177 uint8_t alive; |
| 173 uint8_t fixType; | 178 uint8_t fixType; |
| 174 uint8_t numSat; /* number of available satellites */ | 179 uint8_t numSat; /* number of available satellites */ |
| 175 uint8_t signalQual[4]; /* signal quality indicator for x sats */ | 180 uint8_t signalQual[4]; /* signal quality indicator for x sats */ |
| 176 } SGnssInfo; | 181 } SGnssInfo; |
| 310 int16_t bailout; | 315 int16_t bailout; |
| 311 int16_t info_bailoutHe; | 316 int16_t info_bailoutHe; |
| 312 int16_t info_bailoutO2; | 317 int16_t info_bailoutO2; |
| 313 int16_t compassHeadingUpdate; | 318 int16_t compassHeadingUpdate; |
| 314 uint16_t info_compassHeadingUpdate; | 319 uint16_t info_compassHeadingUpdate; |
| 320 int16_t gnssPositionUpdate; | |
| 321 SGnssCoord info_gnssPosition; | |
| 315 } SEvents; | 322 } SEvents; |
| 316 | 323 |
| 317 | 324 |
| 318 | 325 |
| 319 //struct SDiveSettings | 326 //struct SDiveSettings |
