This file is used to parse received odometer binary logs. More...
Go to the source code of this file.
Classes | |
struct | _SbgLogOdometerData |
Macros | |
#define | SBG_ECOM_ODO_REAL_MEAS (0x0001 << 0) |
#define | SBG_ECOM_ODO_TIME_SYNC (0x0001 << 1) |
Typedefs | |
typedef struct _SbgLogOdometerData | SbgLogOdometerData |
Functions | |
SbgErrorCode | sbgEComBinaryLogParseOdometerData (SbgStreamBuffer *pInputStream, SbgLogOdometerData *pOutputData) |
SbgErrorCode | sbgEComBinaryLogWriteOdometerData (SbgStreamBuffer *pOutputStream, const SbgLogOdometerData *pInputData) |
This file is used to parse received odometer binary logs.
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.
Definition in file sbgEComBinaryLogOdometer.h.
#define SBG_ECOM_ODO_REAL_MEAS (0x0001 << 0) |
Odometer / velocity status mask definitions.Set to 1 if this log comes from a real pulse measurement or from a timeout.
Definition at line 33 of file sbgEComBinaryLogOdometer.h.
#define SBG_ECOM_ODO_TIME_SYNC (0x0001 << 1) |
Set to 1 if the velocity information is correctly time synchronized.
Definition at line 34 of file sbgEComBinaryLogOdometer.h.
typedef struct _SbgLogOdometerData SbgLogOdometerData |
Log structure for odometer data.
SbgErrorCode sbgEComBinaryLogParseOdometerData | ( | SbgStreamBuffer * | pInputStream, |
SbgLogOdometerData * | pOutputData | ||
) |
Parse data for the SBG_ECOM_LOG_ODO_VEL 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 13 of file sbgEComBinaryLogOdometer.c.
SbgErrorCode sbgEComBinaryLogWriteOdometerData | ( | SbgStreamBuffer * | pOutputStream, |
const SbgLogOdometerData * | pInputData | ||
) |
Write data for the SBG_ECOM_LOG_ODO_VEL 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 38 of file sbgEComBinaryLogOdometer.c.