sbgECom Library  5.1.708-stable
Interface SBG Systems IMU/AHRS/INS
sbgErrorCodes.h
Go to the documentation of this file.
1 
33 #ifndef SBG_ERROR_CODES_H
34 #define SBG_ERROR_CODES_H
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 // Local headers
41 #include "sbgDefines.h"
42 
43 //----------------------------------------------------------------------//
44 //- Errors code definitions -//
45 //----------------------------------------------------------------------//
46 
50 typedef enum _SbgErrorCode
51 {
79 
80 //----------------------------------------------------------------------//
81 //- Public methods -//
82 //----------------------------------------------------------------------//
83 
91 
92 #ifdef __cplusplus
93 }
94 #endif
95 
96 #endif // SBG_ERROR_CODES_H
Header file that contains all common definitions.
#define SBG_COMMON_LIB_API
Definition: sbgDefines.h:79
enum _SbgErrorCode SbgErrorCode
SBG_COMMON_LIB_API const char * sbgErrorCodeToString(SbgErrorCode errorCode)
_SbgErrorCode
Definition: sbgErrorCodes.h:51
@ SBG_ERROR
Definition: sbgErrorCodes.h:53
@ SBG_READ_ERROR
Definition: sbgErrorCodes.h:62
@ SBG_TIME_OUT
Definition: sbgErrorCodes.h:60
@ SBG_MALLOC_FAILED
Definition: sbgErrorCodes.h:66
@ SBG_BUFFER_OVERFLOW
Definition: sbgErrorCodes.h:63
@ SBG_NULL_POINTER
Definition: sbgErrorCodes.h:54
@ SBG_CALIB_MAG_NOT_ENOUGH_POINTS
Definition: sbgErrorCodes.h:67
@ SBG_INCOMPATIBLE_HARDWARE
Definition: sbgErrorCodes.h:76
@ SBG_NO_ERROR
Definition: sbgErrorCodes.h:52
@ SBG_INVALID_CRC
Definition: sbgErrorCodes.h:55
@ SBG_DEVICE_NOT_FOUND
Definition: sbgErrorCodes.h:72
@ SBG_INVALID_VERSION
Definition: sbgErrorCodes.h:77
@ SBG_WRITE_ERROR
Definition: sbgErrorCodes.h:61
@ SBG_NOT_READY
Definition: sbgErrorCodes.h:65
@ SBG_INVALID_FRAME
Definition: sbgErrorCodes.h:56
@ SBG_CALIB_MAG_SATURATION
Definition: sbgErrorCodes.h:69
@ SBG_NOT_CONTINUOUS_FRAME
Definition: sbgErrorCodes.h:74
@ SBG_CALIB_MAG_POINTS_NOT_IN_A_PLANE
Definition: sbgErrorCodes.h:70
@ SBG_OPERATION_CANCELLED
Definition: sbgErrorCodes.h:73
@ SBG_CALIB_MAG_INVALID_TAKE
Definition: sbgErrorCodes.h:68
@ SBG_INVALID_PARAMETER
Definition: sbgErrorCodes.h:64