sbgEComCmdInfo.h
Go to the documentation of this file.
1 
20 #ifndef __SBG_ECOM_CMD_INFO_H__
21 #define __SBG_ECOM_CMD_INFO_H__
22 
23 #include "sbgEComCmdCommon.h"
24 
25 //----------------------------------------------------------------------//
26 //- Device info definitions -//
27 //----------------------------------------------------------------------//
28 
29 /* Misc */
30 #define SBG_ECOM_INFO_PRODUCT_CODE_LENGTH (32)
31 
32 //----------------------------------------------------------------------//
33 //- Device Info structure -//
34 //----------------------------------------------------------------------//
35 
39 typedef struct _SbgEComDeviceInfo
40 {
42  uint32_t serialNumber;
43  uint32_t calibationRev;
44  uint16_t calibrationYear;
45  uint8_t calibrationMonth;
46  uint8_t calibrationDay;
47  uint32_t hardwareRev;
48  uint32_t firmwareRev;
50 
51 //----------------------------------------------------------------------//
52 //- Info commands -//
53 //----------------------------------------------------------------------//
54 
62 
63 #endif
_SbgEComDeviceInfo::hardwareRev
uint32_t hardwareRev
Definition: sbgEComCmdInfo.h:47
sbgEComCmdCommon.h
_SbgEComDeviceInfo::calibrationDay
uint8_t calibrationDay
Definition: sbgEComCmdInfo.h:46
_SbgEComDeviceInfo::productCode
uint8_t productCode[SBG_ECOM_INFO_PRODUCT_CODE_LENGTH]
Definition: sbgEComCmdInfo.h:41
_SbgEComDeviceInfo::serialNumber
uint32_t serialNumber
Definition: sbgEComCmdInfo.h:42
sbgEComCmdGetInfo
SbgErrorCode sbgEComCmdGetInfo(SbgEComHandle *pHandle, SbgEComDeviceInfo *pInfo)
Definition: sbgEComCmdInfo.c:14
_SbgEComDeviceInfo::calibationRev
uint32_t calibationRev
Definition: sbgEComCmdInfo.h:43
SbgEComDeviceInfo
struct _SbgEComDeviceInfo SbgEComDeviceInfo
_SbgEComDeviceInfo::calibrationYear
uint16_t calibrationYear
Definition: sbgEComCmdInfo.h:44
_SbgEComHandle
Definition: sbgECom.h:70
_SbgEComDeviceInfo::calibrationMonth
uint8_t calibrationMonth
Definition: sbgEComCmdInfo.h:45
SbgErrorCode
enum _SbgErrorCode SbgErrorCode
Header file that defines all error codes for SBG Systems libraries.
SBG_ECOM_INFO_PRODUCT_CODE_LENGTH
#define SBG_ECOM_INFO_PRODUCT_CODE_LENGTH
This file implements SbgECom commands related to device info.
Definition: sbgEComCmdInfo.h:30
_SbgEComDeviceInfo
Definition: sbgEComCmdInfo.h:39
_SbgEComDeviceInfo::firmwareRev
uint32_t firmwareRev
Definition: sbgEComCmdInfo.h:48


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