#include "sbgDefines.h"
Go to the source code of this file.
Typedefs | |
typedef enum _SbgErrorCode | SbgErrorCode |
Header file that defines all error codes for SBG Systems libraries. More... | |
Enumerations | |
enum | _SbgErrorCode { SBG_NO_ERROR = 0, SBG_ERROR, SBG_NULL_POINTER, SBG_INVALID_CRC, SBG_INVALID_FRAME, SBG_TIME_OUT, SBG_WRITE_ERROR, SBG_READ_ERROR, SBG_BUFFER_OVERFLOW, SBG_INVALID_PARAMETER, SBG_NOT_READY, SBG_MALLOC_FAILED, SGB_CALIB_MAG_NOT_ENOUGH_POINTS, SBG_CALIB_MAG_INVALID_TAKE, SBG_CALIB_MAG_SATURATION, SBG_CALIB_MAG_POINTS_NOT_IN_A_PLANE, SBG_DEVICE_NOT_FOUND, SBG_OPERATION_CANCELLED, SBG_NOT_CONTINUOUS_FRAME, SBG_INCOMPATIBLE_HARDWARE, SBG_INVALID_VERSION } |
Header file that defines all error codes for SBG Systems libraries. More... | |
Functions | |
static const char * | sbgErrorCodeToString (SbgErrorCode errorCode) |
typedef enum _SbgErrorCode SbgErrorCode |
Header file that defines all error codes for SBG Systems libraries.
\file sbgErrorCodes.h
Copyright (C) 2007-2013, SBG Systems SAS. All rights reserved.
This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
Generic errors definitions for SBG Systems projects.
enum _SbgErrorCode |
Header file that defines all error codes for SBG Systems libraries.
\file sbgErrorCodes.h
Copyright (C) 2007-2013, SBG Systems SAS. All rights reserved.
This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
Generic errors definitions for SBG Systems projects.
Definition at line 33 of file sbgErrorCodes.h.
|
inlinestatic |
According to an error code, returns a human readable string.
[in] | errorCode | The errorCode to convert to a string. |
Array of string litterals that should be exactly ordered as the SbgErrorCode enum.
Definition at line 72 of file sbgErrorCodes.h.