sbgECom Library  5.2.590-stable
Interface SBG Systems IMU/AHRS/INS
Loading...
Searching...
No Matches
sbgEComLogDiag.h
Go to the documentation of this file.
1
32
33#ifndef SBG_ECOM_LOG_DIAG_H
34#define SBG_ECOM_LOG_DIAG_H
35
36// sbgCommonLib headers
37#include <sbgCommon.h>
39
40// Project headers
42
43#ifdef __cplusplus
44extern "C" {
45#endif
46
47//----------------------------------------------------------------------//
48//- Constant definitions -//
49//----------------------------------------------------------------------//
50
54#define SBG_ECOM_LOG_DIAG_MAX_STRING_SIZE (SBG_ECOM_MAX_PAYLOAD_SIZE - 6)
55
56//----------------------------------------------------------------------//
57//- Structure definitions -//
58//----------------------------------------------------------------------//
59
70
71//----------------------------------------------------------------------//
72//- Public methods -//
73//----------------------------------------------------------------------//
74
83
92
93//----------------------------------------------------------------------//
94//- DEPRECATED - Used for backward compatibility -//
95//----------------------------------------------------------------------//
96
97SBG_DEPRECATED_TYPEDEF(typedef struct _SbgEComLogDiagData SbgLogDiagData);
98
99SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogParseDiagData(SbgStreamBuffer *pStreamBuffer, SbgEComLogDiagData *pLogData));
100SBG_DEPRECATED(SbgErrorCode sbgEComBinaryLogWriteDiagData(SbgStreamBuffer *pStreamBuffer, const SbgEComLogDiagData *pLogData));
101
102#ifdef __cplusplus
103}
104#endif
105
106#endif // SBG_ECOM_LOG_DIAG_H
Main header for the SBG Systems common C library.
enum _SbgDebugLogType SbgDebugLogType
#define SBG_DEPRECATED(func)
Definition sbgDefines.h:316
#define SBG_DEPRECATED_TYPEDEF(decl)
Definition sbgDefines.h:349
SbgErrorCode sbgEComLogDiagWriteToStream(const SbgEComLogDiagData *pLogData, SbgStreamBuffer *pStreamBuffer)
#define SBG_ECOM_LOG_DIAG_MAX_STRING_SIZE
Definition sbgEComLogDiag.h:54
SbgErrorCode sbgEComLogDiagReadFromStream(SbgEComLogDiagData *pLogData, SbgStreamBuffer *pStreamBuffer)
struct _SbgEComLogDiagData SbgEComLogDiagData
Implementation of the sbgECom binary communication protocol.
enum _SbgErrorCode SbgErrorCode
Used to read/write data from/to a memory buffer stream.
struct _SbgStreamBuffer SbgStreamBuffer
Definition sbgEComLogDiag.h:64
uint32_t timestamp
Definition sbgEComLogDiag.h:65
SbgDebugLogType type
Definition sbgEComLogDiag.h:66
SbgErrorCode errorCode
Definition sbgEComLogDiag.h:67