sbgECom Library  5.1.708-stable
Interface SBG Systems IMU/AHRS/INS
sbgEComSessionInfo.h
Go to the documentation of this file.
1 
42 #ifndef SBG_ECOM_SESSION_INFO_H
43 #define SBG_ECOM_SESSION_INFO_H
44 
45 // sbgCommonLib headers
46 #include <sbgCommon.h>
47 
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 
52 //----------------------------------------------------------------------//
53 //- Constant definitions -//
54 //----------------------------------------------------------------------//
55 
59 #define SBG_ECOM_SESSION_INFO_BUFFER_SIZE (32768)
60 
61 //----------------------------------------------------------------------//
62 //- Structure definitions -//
63 //----------------------------------------------------------------------//
64 
70 typedef struct _SbgEComSessionInfoCtx
71 {
73  size_t length;
74  uint16_t pageIndex;
75  uint16_t nrPages;
77 
78 //----------------------------------------------------------------------//
79 //- Public functions -//
80 //----------------------------------------------------------------------//
81 
90 
104 SbgErrorCode sbgEComSessionInfoCtxProcess(SbgEComSessionInfoCtx *pCtx, uint16_t pageIndex, uint16_t nrPages, const void *pBuffer, size_t size);
105 
115 
116 #ifdef __cplusplus
117 }
118 #endif
119 
120 #endif // SBG_ECOM_SESSION_INFO_H
Main header for the SBG Systems common C library.
SbgErrorCode sbgEComSessionInfoCtxProcess(SbgEComSessionInfoCtx *pCtx, uint16_t pageIndex, uint16_t nrPages, const void *pBuffer, size_t size)
#define SBG_ECOM_SESSION_INFO_BUFFER_SIZE
Definition: sbgEComSessionInfo.h:59
struct _SbgEComSessionInfoCtx SbgEComSessionInfoCtx
const char * sbgEComSessionInfoCtxGetString(const SbgEComSessionInfoCtx *pCtx)
void sbgEComSessionInfoCtxConstruct(SbgEComSessionInfoCtx *pCtx)
enum _SbgErrorCode SbgErrorCode
Definition: sbgEComSessionInfo.h:71
uint16_t pageIndex
Definition: sbgEComSessionInfo.h:74
uint16_t nrPages
Definition: sbgEComSessionInfo.h:75
size_t length
Definition: sbgEComSessionInfo.h:73