This file is used to parse received debug frames. More...
#include <sbgCommon.h>
#include <streamBuffer/sbgStreamBuffer.h>
#include "../protocol/sbgEComProtocol.h"
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) |
This file is used to parse received debug frames.
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 struct _SbgLogDebugData 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.
SbgErrorCode sbgEComBinaryLogParseDebugData | ( | SbgStreamBuffer * | pInputStream, |
SbgLogDebugData * | pOutputData | ||
) |
Parse data for SBG_ECOM_LOG_DEBUG_X messages 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 sbgEComBinaryLogDebug.c.
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.
[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 52 of file sbgEComBinaryLogDebug.c.