sbgECom
1.11.920-stable
|
Defines all sbgECom commands identifiers. More...
Go to the source code of this file.
Macros | |
#define | SBG_ECOM_BUILD_ID(classId, logId) (((uint16_t)classId << 8) | (uint8_t)logId) |
Typedefs | |
typedef enum _SbgEComClass | SbgEComClass |
typedef enum _SbgEComLog | SbgEComLog |
typedef enum _SbgEComLog1MsgId | SbgEComLog1 |
typedef enum _SbgEComNmeaLog | SbgEComNmeaLog |
typedef enum _SbgEComIdNmea1Log | SbgEComIdNmea1Log |
typedef enum _SbgEComIdThirdParty | SbgEComIdThirdParty |
typedef enum _SbgEComCmd | SbgEComCmd |
typedef uint8_t | SbgEComMsgId |
Functions | |
SBG_INLINE bool | sbgEComMsgClassIsALog (SbgEComClass msgClass) |
Defines all sbgECom commands identifiers.
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.
#define SBG_ECOM_BUILD_ID | ( | classId, | |
logId | |||
) | (((uint16_t)classId << 8) | (uint8_t)logId) |
Helper macro to build an id with its class
typedef enum _SbgEComClass SbgEComClass |
Enum that defines all the message classes available.
typedef enum _SbgEComLog SbgEComLog |
Enum that defines all the available ECom output logs from the sbgECom library.
typedef enum _SbgEComLog1MsgId SbgEComLog1 |
Enum that defines all the available ECom output logs in the class SBG_ECOM_CLASS_LOG_ECOM_1
typedef enum _SbgEComNmeaLog SbgEComNmeaLog |
Enum that defines all the available Nmea output logs from the sbgECom library.
typedef enum _SbgEComIdNmea1Log SbgEComIdNmea1Log |
Enum that defines all the available Proprietary Nmea output logs from the sbgECom library.
typedef enum _SbgEComIdThirdParty SbgEComIdThirdParty |
Enum that defines all the available Proprietary output logs from the sbgECom library.
typedef enum _SbgEComCmd SbgEComCmd |
Enum that defines all the available commands for the sbgECom library.
typedef uint8_t SbgEComMsgId |
This type defines any message identifier. Because message identifiers enum will be different with each class id, we use a generic uint8_t rather than an enum.
enum _SbgEComClass |
Enum that defines all the message classes available.
enum _SbgEComLog |
Enum that defines all the available ECom output logs from the sbgECom library.
enum _SbgEComLog1MsgId |
enum _SbgEComNmeaLog |
Enum that defines all the available Nmea output logs from the sbgECom library.
enum _SbgEComIdNmea1Log |
Enum that defines all the available Proprietary Nmea output logs from the sbgECom library.
enum _SbgEComIdThirdParty |
Enum that defines all the available Proprietary output logs from the sbgECom library.
enum _SbgEComCmd |
Enum that defines all the available commands for the sbgECom library.
SBG_INLINE bool sbgEComMsgClassIsALog | ( | SbgEComClass | msgClass | ) |
Test if the message class is a binary log one.
[in] | msgClass | Message class. |
References SBG_ECOM_CLASS_LOG_ECOM_0, and SBG_ECOM_CLASS_LOG_ECOM_1.