sbgECom Library  5.2.590-stable
Interface SBG Systems IMU/AHRS/INS
Loading...
Searching...
No Matches
sbgEComLogDepth.h
Go to the documentation of this file.
1
34
35#ifndef SBG_ECOM_LOG_DEPTH_H
36#define SBG_ECOM_LOG_DEPTH_H
37
38// sbgCommonLib headers
39#include <sbgCommon.h>
41
42#ifdef __cplusplus
43extern "C" {
44#endif
45
46//----------------------------------------------------------------------//
47//- Log Air Data status definitions -//
48//----------------------------------------------------------------------//
49
53#define SBG_ECOM_DEPTH_TIME_IS_DELAY (0x0001u << 0)
54#define SBG_ECOM_DEPTH_PRESSURE_ABS_VALID (0x0001u << 1)
55#define SBG_ECOM_DEPTH_ALTITUDE_VALID (0x0001u << 2)
56
57//----------------------------------------------------------------------//
58//- Log structure definitions -//
59//----------------------------------------------------------------------//
60
64typedef struct _SbgEComLogDepth
65{
66 uint32_t timeStamp;
67 uint16_t status;
69 float altitude;
71
72//----------------------------------------------------------------------//
73//- Public methods -//
74//----------------------------------------------------------------------//
75
84
93
94//----------------------------------------------------------------------//
95//- DEPRECATED - Used for backward compatibility -//
96//----------------------------------------------------------------------//
97
98SBG_DEPRECATED_TYPEDEF(typedef struct _SbgEComLogDepth SbgLogDepth);
99
100SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogParseDepth(SbgStreamBuffer *pStreamBuffer, SbgEComLogDepth *pLogData));
101SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogWriteDepth(SbgStreamBuffer *pStreamBuffer, const SbgEComLogDepth *pLogData));
102
103#ifdef __cplusplus
104}
105#endif
106
107#endif // SBG_ECOM_LOG_DEPTH_H
Main header for the SBG Systems common C library.
#define SBG_DEPRECATED(func)
Definition sbgDefines.h:316
#define SBG_DEPRECATED_TYPEDEF(decl)
Definition sbgDefines.h:349
SbgErrorCode sbgEComLogDepthWriteToStream(const SbgEComLogDepth *pLogData, SbgStreamBuffer *pStreamBuffer)
struct _SbgEComLogDepth SbgEComLogDepth
SbgErrorCode sbgEComLogDepthReadFromStream(SbgEComLogDepth *pLogData, SbgStreamBuffer *pStreamBuffer)
enum _SbgErrorCode SbgErrorCode
Used to read/write data from/to a memory buffer stream.
struct _SbgStreamBuffer SbgStreamBuffer
Definition sbgEComLogDepth.h:65
float pressureAbs
Definition sbgEComLogDepth.h:68
uint16_t status
Definition sbgEComLogDepth.h:67
uint32_t timeStamp
Definition sbgEComLogDepth.h:66
float altitude
Definition sbgEComLogDepth.h:69