sbgECom Library  4.0.1987-stable
C library to interface SBG Systems IMU/AHRS/INS
sbgCommon.h File Reference

Main header for the SBG Systems common C library. More...

#include "sbgConfig.h"
#include "sbgDefines.h"
#include "sbgErrorCodes.h"
#include "sbgTypes.h"
#include "debug/sbgDebug.h"
#include "platform/sbgPlatform.h"

Go to the source code of this file.

Macros

#define SBG_CONFIG_LOG_MAX_SIZE   ((size_t)(1024))
 
#define SBG_CONFIG_PATH_MAX_SIZE   ((size_t)(256))
 

Detailed Description

Main header for the SBG Systems common C library.

Author
SBG Systems
Date
March 17, 2015
License

The MIT license

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Macro Definition Documentation

◆ SBG_CONFIG_LOG_MAX_SIZE

#define SBG_CONFIG_LOG_MAX_SIZE   ((size_t)(1024))

If set to 0, the platform support only aligned memory access. If set to 1, the platform support unaligned memory access. Default: Support only Aligned access - Disabled

If set to 0, the platform is using little endian. If set to 1, the platform is using big endian. Default: Little Endian - Disabled

If set to 1, error logs level will be thrown. Default: Enabled

If set to 1, warning logs level will be thrown. Default: Enabled

If set to 1, information logs level will be thrown. Default: Enabled

If set to 1, debug logs level will be thrown. Default: Enabled

Maximum error message size in bytes that can be generated including the NULL Char. Default: 1024

◆ SBG_CONFIG_PATH_MAX_SIZE

#define SBG_CONFIG_PATH_MAX_SIZE   ((size_t)(256))

Maximum number of chars for a file name including the NULL char. Default: 256