Classes | Macros | Typedefs | Functions
sbgEComBinaryLogOdometer.h File Reference

This file is used to parse received odometer binary logs. More...

#include <sbgCommon.h>
#include <streamBuffer/sbgStreamBuffer.h>
Include dependency graph for sbgEComBinaryLogOdometer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _SbgLogOdometerData
 

Macros

#define SBG_ECOM_ODO_REAL_MEAS   (0x00000001 << 0)
 

Typedefs

typedef struct _SbgLogOdometerData SbgLogOdometerData
 

Functions

SbgErrorCode sbgEComBinaryLogParseOdometerData (SbgStreamBuffer *pInputStream, SbgLogOdometerData *pOutputData)
 
SbgErrorCode sbgEComBinaryLogWriteOdometerData (SbgStreamBuffer *pOutputStream, const SbgLogOdometerData *pInputData)
 

Detailed Description

This file is used to parse received odometer binary logs.

Author
SBG Systems (Raphael Siryani)
Date
25 February 2013

Copyright Notice

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.

Macro Definition Documentation

#define SBG_ECOM_ODO_REAL_MEAS   (0x00000001 << 0)

Set to 1 if this log comes from a real pulse measurement or from a timeout.

Definition at line 30 of file sbgEComBinaryLogOdometer.h.

Typedef Documentation

Log structure for odometer data.

Function Documentation

SbgErrorCode sbgEComBinaryLogParseOdometerData ( SbgStreamBuffer pInputStream,
SbgLogOdometerData pOutputData 
)

Parse data for the SBG_ECOM_LOG_ODO_VEL message and fill the corresponding structure.

Parameters
[in]pInputStreamInput stream buffer to read the payload from.
[out]pOutputDataPointer on the output structure that stores parsed data.
Returns
SBG_NO_ERROR if the payload has been parsed.

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.

Parameters
[out]pOutputStreamOutput stream buffer to write the payload to.
[in]pInputDataPointer on the input structure that stores data to write.
Returns
SBG_NO_ERROR if the message has been generated in the provided buffer.

Definition at line 41 of file sbgEComBinaryLogOdometer.c.



sbg_driver
Author(s):
autogenerated on Sun Jan 27 2019 03:42:20