sbgECom Library  4.0.1987-stable
C library to interface SBG Systems IMU/AHRS/INS
sbgEComCmdInfo.h
Go to the documentation of this file.
1 
33 #ifndef SBG_ECOM_CMD_INFO_H
34 #define SBG_ECOM_CMD_INFO_H
35 
36 // sbgCommonLib headers
37 #include <sbgCommon.h>
38 
39 // Project headers
40 #include <sbgECom.h>
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 //----------------------------------------------------------------------//
47 //- Device info definitions -//
48 //----------------------------------------------------------------------//
49 
50 /* Misc */
51 #define SBG_ECOM_INFO_PRODUCT_CODE_LENGTH (32)
52 
53 //----------------------------------------------------------------------//
54 //- Device Info structure -//
55 //----------------------------------------------------------------------//
56 
60 typedef struct _SbgEComDeviceInfo
61 {
62  uint8_t productCode[SBG_ECOM_INFO_PRODUCT_CODE_LENGTH];
63  uint32_t serialNumber;
64  uint32_t calibationRev;
65  uint16_t calibrationYear;
66  uint8_t calibrationMonth;
67  uint8_t calibrationDay;
68  uint32_t hardwareRev;
69  uint32_t firmwareRev;
71 
72 //----------------------------------------------------------------------//
73 //- Public methods -//
74 //----------------------------------------------------------------------//
75 
84 
85 #ifdef __cplusplus
86 }
87 #endif
88 
89 #endif // SBG_ECOM_CMD_INFO_H
Main header for the SBG Systems common C library.
Contains main sbgECom methods.
struct _SbgEComDeviceInfo SbgEComDeviceInfo
SbgErrorCode sbgEComCmdGetInfo(SbgEComHandle *pHandle, SbgEComDeviceInfo *pInfo)
enum _SbgErrorCode SbgErrorCode
Definition: sbgEComCmdInfo.h:61
uint16_t calibrationYear
Definition: sbgEComCmdInfo.h:65
uint32_t calibationRev
Definition: sbgEComCmdInfo.h:64
uint32_t serialNumber
Definition: sbgEComCmdInfo.h:63
uint32_t hardwareRev
Definition: sbgEComCmdInfo.h:68
uint8_t calibrationDay
Definition: sbgEComCmdInfo.h:67
uint32_t firmwareRev
Definition: sbgEComCmdInfo.h:69
uint8_t productCode[SBG_ECOM_INFO_PRODUCT_CODE_LENGTH]
Definition: sbgEComCmdInfo.h:62
uint8_t calibrationMonth
Definition: sbgEComCmdInfo.h:66
Definition: sbgECom.h:88