comparison Discovery/Inc/logbook.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 ae7f8333c900
children
comparison
equal deleted inserted replaced
940:4a406e873a95 941:6d8ae8fbccf5
210 210
211 uint8_t logbook_getNumberOfHeaders(void); 211 uint8_t logbook_getNumberOfHeaders(void);
212 uint8_t logbook_getHeader(uint8_t StepBackwards,SLogbookHeader* pLogbookHeader); 212 uint8_t logbook_getHeader(uint8_t StepBackwards,SLogbookHeader* pLogbookHeader);
213 uint16_t logbook_readSampleData(uint8_t StepBackwards, uint16_t length,uint16_t* depth, uint8_t* gasid, int16_t* temperature, uint16_t* ppo2, 213 uint16_t logbook_readSampleData(uint8_t StepBackwards, uint16_t length,uint16_t* depth, uint8_t* gasid, int16_t* temperature, uint16_t* ppo2,
214 uint16_t* setpoint, uint16_t* sensor1, uint16_t* sensor2, uint16_t* sensor3, uint16_t* cns, uint8_t* bailout, 214 uint16_t* setpoint, uint16_t* sensor1, uint16_t* sensor2, uint16_t* sensor3, uint16_t* cns, uint8_t* bailout,
215 uint16_t* decostopDepth, uint16_t* tank, uint8_t* event); 215 uint16_t* decostopDepth, uint16_t* tank, SGnssCoord* pPosition, uint8_t* event);
216 void logbook_test(void); 216 void logbook_test(void);
217 void logbook_InitAndWrite(const SDiveState* pStateReal); 217 void logbook_InitAndWrite(SDiveState* pStateReal);
218 void logbook_recover_brokenlog(uint8_t headerId); 218 void logbook_recover_brokenlog(uint8_t headerId);
219 219
220 uint16_t logbook_lastDive_diveNumber(void); 220 uint16_t logbook_lastDive_diveNumber(void);
221 uint16_t logbook_fillDummySampleBuffer(SLogbookHeader* pHeader); 221 uint16_t logbook_fillDummySampleBuffer(SLogbookHeader* pHeader);
222 void logbook_readDummySamples(uint8_t* pTarget, uint16_t length); 222 void logbook_readDummySamples(uint8_t* pTarget, uint16_t length);