sbgEComBinaryLogUsbl.h
Go to the documentation of this file.
1 
22 #ifndef __SBG_ECOM_BINARY_LOG_USBL_H__
23 #define __SBG_ECOM_BINARY_LOG_USBL_H__
24 
25 #include <sbgCommon.h>
27 
28 //----------------------------------------------------------------------//
29 //- Log USBL status definitions -//
30 //----------------------------------------------------------------------//
31 
35 #define SBG_ECOM_USBL_TIME_SYNC (0x0001u << 0)
36 #define SBG_ECOM_USBL_POSITION_VALID (0x0001u << 1)
37 #define SBG_ECOM_USBL_DEPTH_VALID (0x0001u << 2)
39 //----------------------------------------------------------------------//
40 //- Log structure definitions -//
41 //----------------------------------------------------------------------//
42 
46 typedef struct _SbgLogUsblData
47 {
48  uint32_t timeStamp;
49  uint16_t status;
51  double latitude;
52  double longitude;
54  float depth;
58  float depthAccuracy;
60 
61 //----------------------------------------------------------------------//
62 //- Operations -//
63 //----------------------------------------------------------------------//
64 
72 
80 
81 #endif
sbgEComBinaryLogWriteUsblData
SbgErrorCode sbgEComBinaryLogWriteUsblData(SbgStreamBuffer *pOutputStream, const SbgLogUsblData *pInputData)
Definition: sbgEComBinaryLogUsbl.c:45
_SbgLogUsblData::depthAccuracy
float depthAccuracy
Definition: sbgEComBinaryLogUsbl.h:58
_SbgLogUsblData::status
uint16_t status
Definition: sbgEComBinaryLogUsbl.h:49
sbgCommon.h
sbgEComBinaryLogParseUsblData
SbgErrorCode sbgEComBinaryLogParseUsblData(SbgStreamBuffer *pInputStream, SbgLogUsblData *pOutputData)
Definition: sbgEComBinaryLogUsbl.c:13
_SbgLogUsblData::latitude
double latitude
Definition: sbgEComBinaryLogUsbl.h:51
_SbgLogUsblData::longitudeAccuracy
float longitudeAccuracy
Definition: sbgEComBinaryLogUsbl.h:57
SbgLogUsblData
struct _SbgLogUsblData SbgLogUsblData
_SbgStreamBuffer
Definition: sbgStreamBufferCommon.h:188
_SbgLogUsblData::timeStamp
uint32_t timeStamp
Definition: sbgEComBinaryLogUsbl.h:48
_SbgLogUsblData
Definition: sbgEComBinaryLogUsbl.h:46
_SbgLogUsblData::longitude
double longitude
Definition: sbgEComBinaryLogUsbl.h:52
sbgStreamBuffer.h
_SbgLogUsblData::latitudeAccuracy
float latitudeAccuracy
Definition: sbgEComBinaryLogUsbl.h:56
SbgErrorCode
enum _SbgErrorCode SbgErrorCode
Header file that defines all error codes for SBG Systems libraries.
_SbgLogUsblData::depth
float depth
Definition: sbgEComBinaryLogUsbl.h:54


sbg_driver
Author(s): SBG Systems
autogenerated on Fri Oct 11 2024 02:13:40