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
commands
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
{
41
uint8_t
productCode
[
SBG_ECOM_INFO_PRODUCT_CODE_LENGTH
];
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
;
49
}
SbgEComDeviceInfo
;
50
51
//----------------------------------------------------------------------//
52
//- Info commands -//
53
//----------------------------------------------------------------------//
54
61
SbgErrorCode
sbgEComCmdGetInfo
(
SbgEComHandle
*pHandle,
SbgEComDeviceInfo
*pInfo);
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