This file is used to parse & received Air Data logs. More...
Go to the source code of this file.
Classes | |
struct | _SbgLogAirData |
Macros | |
#define | SBG_ECOM_AIR_DATA_AIRPSEED_VALID (0x0001u << 4) |
#define | SBG_ECOM_AIR_DATA_ALTITUDE_VALID (0x0001u << 2) |
#define | SBG_ECOM_AIR_DATA_PRESSURE_ABS_VALID (0x0001u << 1) |
#define | SBG_ECOM_AIR_DATA_PRESSURE_DIFF_VALID (0x0001u << 3) |
#define | SBG_ECOM_AIR_DATA_TEMPERATURE_VALID (0x0001u << 5) |
#define | SBG_ECOM_AIR_DATA_TIME_IS_DELAY (0x0001u << 0) |
Typedefs | |
typedef struct _SbgLogAirData | SbgLogAirData |
Functions | |
SbgErrorCode | sbgEComBinaryLogParseAirData (SbgStreamBuffer *pInputStream, SbgLogAirData *pOutputData) |
SbgErrorCode | sbgEComBinaryLogWriteAirData (SbgStreamBuffer *pOutputStream, const SbgLogAirData *pInputData) |
This file is used to parse & received Air Data logs.
Air Data logs are used to inject / return barometric altitude as well as true air speed.
Copyright (C) 2007-2019, 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.
Definition in file sbgEComBinaryLogAirData.h.
#define SBG_ECOM_AIR_DATA_AIRPSEED_VALID (0x0001u << 4) |
Set to 1 if the true airspeed field is filled and valid.
Definition at line 40 of file sbgEComBinaryLogAirData.h.
#define SBG_ECOM_AIR_DATA_ALTITUDE_VALID (0x0001u << 2) |
Set to 1 if the barometric altitude field is filled and valid.
Definition at line 38 of file sbgEComBinaryLogAirData.h.
#define SBG_ECOM_AIR_DATA_PRESSURE_ABS_VALID (0x0001u << 1) |
Set to 1 if the pressure field is filled and valid.
Definition at line 37 of file sbgEComBinaryLogAirData.h.
#define SBG_ECOM_AIR_DATA_PRESSURE_DIFF_VALID (0x0001u << 3) |
Set to 1 if the differential pressure field is filled and valid.
Definition at line 39 of file sbgEComBinaryLogAirData.h.
#define SBG_ECOM_AIR_DATA_TEMPERATURE_VALID (0x0001u << 5) |
Set to 1 if the output air temperature field is filled and valid.
Definition at line 41 of file sbgEComBinaryLogAirData.h.
#define SBG_ECOM_AIR_DATA_TIME_IS_DELAY (0x0001u << 0) |
Air Data sensor status mask definitionsSet to 1 if the time stamp field represents a delay instead of an absolute time stamp.
Definition at line 36 of file sbgEComBinaryLogAirData.h.
typedef struct _SbgLogAirData SbgLogAirData |
Log structure for AirData.
SbgErrorCode sbgEComBinaryLogParseAirData | ( | SbgStreamBuffer * | pInputStream, |
SbgLogAirData * | pOutputData | ||
) |
Parse data for the SBG_ECOM_LOG_AIR_DATA message and fill the corresponding structure.
[in] | pInputStream | Input stream buffer to read the payload from. |
[out] | pOutputData | Pointer on the output structure that stores parsed data. |
Definition at line 7 of file sbgEComBinaryLogAirData.c.
SbgErrorCode sbgEComBinaryLogWriteAirData | ( | SbgStreamBuffer * | pOutputStream, |
const SbgLogAirData * | pInputData | ||
) |
Write data for the SBG_ECOM_LOG_AIR_DATA message to the output stream buffer from the provided structure.
[out] | pOutputStream | Output stream buffer to write the payload to. |
[in] | pInputData | Pointer on the input structure that stores data to write. |
Definition at line 43 of file sbgEComBinaryLogAirData.c.