Classes | Typedefs | Functions
sbgEComBinaryLogDebug.h File Reference

This file is used to parse received debug frames. More...

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

Go to the source code of this file.

Classes

struct  _SbgLogDebugData
 

Typedefs

typedef struct _SbgLogDebugData SbgLogDebugData
 

Functions

SbgErrorCode sbgEComBinaryLogParseDebugData (SbgStreamBuffer *pInputStream, SbgLogDebugData *pOutputData)
 
SbgErrorCode sbgEComBinaryLogWriteDebugData (SbgStreamBuffer *pOutputStream, const SbgLogDebugData *pInputData)
 

Detailed Description

This file is used to parse received debug frames.

Author
SBG Systems (Alexis Guinamard)
Date
03 October 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 sbgEComBinaryLogDebug.h.

Typedef Documentation

◆ SbgLogDebugData

Log structure for debug data.

If debug data doesn't fit in a frame, multiple debug messages are sent with different message IDs but the same internal ID.

Function Documentation

◆ sbgEComBinaryLogParseDebugData()

SbgErrorCode sbgEComBinaryLogParseDebugData ( SbgStreamBuffer pInputStream,
SbgLogDebugData pOutputData 
)

Parse data for SBG_ECOM_LOG_DEBUG_X messages 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 sbgEComBinaryLogDebug.c.

◆ sbgEComBinaryLogWriteDebugData()

SbgErrorCode sbgEComBinaryLogWriteDebugData ( SbgStreamBuffer pOutputStream,
const SbgLogDebugData pInputData 
)

Write data for SBG_ECOM_LOG_DEBUG_X messages 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 52 of file sbgEComBinaryLogDebug.c.



sbg_driver
Author(s): SBG Systems
autogenerated on Sat Sep 3 2022 02:53:36