comparison Discovery/Inc/logbook.h @ 610:ae7f8333c900

Added access to logbook marker data: In previous version event data could only be stored in memory but read back and usage in the OSTC itself was not supported. After the events like a marker set by the diver may be retrieved from the log. Added visualization of markers to T3_Profile view
author Ideenmodellierer
date Thu, 14 Jan 2021 20:38:28 +0100
parents b33a8c1c72e5
children
comparison
equal deleted inserted replaced
609:1b243c6c7067 610:ae7f8333c900
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); 215 uint16_t* decostopDepth, uint16_t* tank, uint8_t* event);
216 void logbook_test(void); 216 void logbook_test(void);
217 void logbook_InitAndWrite(const SDiveState* pStateReal); 217 void logbook_InitAndWrite(const 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);