Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Enumerations
Classes
Class List
Class Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Functions
a
c
d
e
f
g
i
l
m
o
p
r
s
t
u
w
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
c
d
f
g
i
m
n
s
t
u
Functions
m
s
t
Variables
Typedefs
d
f
i
s
u
Enumerations
_
Enumerator
s
Macros
_
c
f
i
n
s
t
external
sbgECom
src
binaryLogs
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
>
26
#include <
streamBuffer/sbgStreamBuffer.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
;
56
float
latitudeAccuracy
;
57
float
longitudeAccuracy
;
58
float
depthAccuracy
;
59
}
SbgLogUsblData
;
60
61
//----------------------------------------------------------------------//
62
//- Operations -//
63
//----------------------------------------------------------------------//
64
71
SbgErrorCode
sbgEComBinaryLogParseUsblData
(
SbgStreamBuffer
*pInputStream,
SbgLogUsblData
*pOutputData);
72
79
SbgErrorCode
sbgEComBinaryLogWriteUsblData
(
SbgStreamBuffer
*pOutputStream,
const
SbgLogUsblData
*pInputData);
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