sbgECom Library
4.0.1987-stable
C library to interface SBG Systems IMU/AHRS/INS
|
Common enumeration and definitions for RAW GNSS data. More...
#include <sbgCommon.h>
Go to the source code of this file.
Typedefs | |
typedef enum _SbgEComSignalId | SbgEComSignalId |
typedef enum _SbgEComConstellationId | SbgEComConstellationId |
Enumerations | |
enum | _SbgEComSignalId |
enum | _SbgEComConstellationId |
Functions | |
SbgEComConstellationId | sbgEComGetConstellationFromSignalId (SbgEComSignalId signalId) |
bool | sbgEComSignalIdIsValid (uint8_t signalId) |
const char * | sbgEComSignalToStr (SbgEComSignalId signalId) |
bool | sbgEComConstellationIdIsValid (uint8_t constellationId) |
const char * | sbgEComConstellationToStr (SbgEComConstellationId constellationId) |
Common enumeration and definitions for RAW GNSS data.
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.
typedef enum _SbgEComSignalId SbgEComSignalId |
Signal IDs.
These are on-the-wire values.
typedef enum _SbgEComConstellationId SbgEComConstellationId |
Constellation IDs.
All values must be strictly lower than 16.
These are on-the-wire values.
enum _SbgEComSignalId |
Signal IDs.
These are on-the-wire values.
Constellation IDs.
All values must be strictly lower than 16.
These are on-the-wire values.
SbgEComConstellationId sbgEComGetConstellationFromSignalId | ( | SbgEComSignalId | signalId | ) |
Returns a constellation given a signal ID
[in] | signalId | Signal ID value. |
bool sbgEComSignalIdIsValid | ( | uint8_t | signalId | ) |
Check if a value belongs to SbgEComSignalId enum.
WARNING: SBG_ECOM_SIGNAL_ID_UNKNOWN is considered to be a valid enum value.
[in] | signalId | Signal ID value. |
const char* sbgEComSignalToStr | ( | SbgEComSignalId | signalId | ) |
Get a signal ID as a read only C string.
[in] | signalId | Signal ID value. |
bool sbgEComConstellationIdIsValid | ( | uint8_t | constellationId | ) |
Check if a value belongs to SbgEComConstellationId enum.
[in] | constellationId | constellation ID value. |
const char* sbgEComConstellationToStr | ( | SbgEComConstellationId | constellationId | ) |
Get a constellation ID as a read only C string.
[in] | constellationId | Constellation ID value. |