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
sbgEComBinaryLogDebug.h
Go to the documentation of this file.
1
20
#ifndef __SBG_ECOM_BINARY_LOG_DEBUG_H__
21
#define __SBG_ECOM_BINARY_LOG_DEBUG_H__
22
23
#include <
sbgCommon.h
>
24
#include <
streamBuffer/sbgStreamBuffer.h
>
25
26
#include "../protocol/sbgEComProtocol.h"
27
28
//----------------------------------------------------------------------//
29
//- Log structure definitions -//
30
//----------------------------------------------------------------------//
31
38
typedef
struct
_SbgLogDebugData
39
{
40
uint32_t
id
;
41
uint32_t
offset
;
42
uint32_t
size
;
43
uint32_t
totalSize
;
44
uint8_t
data
[
SBG_ECOM_MAX_PAYLOAD_SIZE
- 16];
45
}
SbgLogDebugData
;
46
47
//----------------------------------------------------------------------//
48
//- Operations -//
49
//----------------------------------------------------------------------//
50
57
SbgErrorCode
sbgEComBinaryLogParseDebugData
(
SbgStreamBuffer
*pInputStream,
SbgLogDebugData
*pOutputData);
58
65
SbgErrorCode
sbgEComBinaryLogWriteDebugData
(
SbgStreamBuffer
*pOutputStream,
const
SbgLogDebugData
*pInputData);
66
67
#endif
_SbgLogDebugData::totalSize
uint32_t totalSize
Definition:
sbgEComBinaryLogDebug.h:43
SBG_ECOM_MAX_PAYLOAD_SIZE
#define SBG_ECOM_MAX_PAYLOAD_SIZE
Definition:
sbgEComProtocol.h:36
_SbgLogDebugData::offset
uint32_t offset
Definition:
sbgEComBinaryLogDebug.h:41
_SbgLogDebugData::size
uint32_t size
Definition:
sbgEComBinaryLogDebug.h:42
sbgCommon.h
_SbgLogDebugData
This file is used to parse received debug frames.
Definition:
sbgEComBinaryLogDebug.h:38
SbgLogDebugData
struct _SbgLogDebugData SbgLogDebugData
This file is used to parse received debug frames.
_SbgStreamBuffer
Definition:
sbgStreamBufferCommon.h:188
sbgStreamBuffer.h
sbgEComBinaryLogParseDebugData
SbgErrorCode sbgEComBinaryLogParseDebugData(SbgStreamBuffer *pInputStream, SbgLogDebugData *pOutputData)
Definition:
sbgEComBinaryLogDebug.c:13
_SbgLogDebugData::data
uint8_t data[SBG_ECOM_MAX_PAYLOAD_SIZE - 16]
Definition:
sbgEComBinaryLogDebug.h:44
_SbgLogDebugData::id
uint32_t id
Definition:
sbgEComBinaryLogDebug.h:40
SbgErrorCode
enum _SbgErrorCode SbgErrorCode
Header file that defines all error codes for SBG Systems libraries.
sbgEComBinaryLogWriteDebugData
SbgErrorCode sbgEComBinaryLogWriteDebugData(SbgStreamBuffer *pOutputStream, const SbgLogDebugData *pInputData)
Definition:
sbgEComBinaryLogDebug.c:52
sbg_driver
Author(s): SBG Systems
autogenerated on Fri Oct 11 2024 02:13:40