|
sbgECom Library
6.1.3749-stable
Interface SBG Systems IMU/AHRS/INS
|
REST API actions related logs. More...
Go to the source code of this file.
Data Structures | |
| struct | _SbgEComLogRestApiAction |
Macros | |
| #define | SBG_ECOM_REST_API_ACTION_MAX_ENDPOINT_SIZE (256) |
| #define | SBG_ECOM_REST_API_ACTION_MAX_CONTENT_SIZE (3824) |
Typedefs | |
| typedef struct _SbgEComLogRestApiAction | SbgEComLogRestApiAction |
Functions | |
| void | sbgEComLogRestApiActionConstruct (SbgEComLogRestApiAction *pLogData) |
| SbgErrorCode | sbgEComLogRestApiActionReadFromStream (SbgEComLogRestApiAction *pLogData, SbgStreamBuffer *pStreamBuffer) |
| SbgErrorCode | sbgEComLogRestApiActionWriteToStream (const SbgEComLogRestApiAction *pLogData, SbgStreamBuffer *pStreamBuffer) |
REST API actions related logs.
The MIT license
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| #define SBG_ECOM_REST_API_ACTION_MAX_ENDPOINT_SIZE (256) |
Maximum endpoint size in bytes that can be stored.
| #define SBG_ECOM_REST_API_ACTION_MAX_CONTENT_SIZE (3824) |
Maximum content size in bytes that can be stored.
| typedef struct _SbgEComLogRestApiAction SbgEComLogRestApiAction |
Structure that stores data for the SBG_ECOM_LOG_REST_API_ACTION message.
| void sbgEComLogRestApiActionConstruct | ( | SbgEComLogRestApiAction * | pLogData | ) |
Construct an empty / zero initialized instance.
| [in] | pLogData | Log instance. |
| SbgErrorCode sbgEComLogRestApiActionReadFromStream | ( | SbgEComLogRestApiAction * | pLogData, |
| SbgStreamBuffer * | pStreamBuffer ) |
Parse data for the SBG_ECOM_LOG_REST_API_ACTION message and fill the corresponding structure.
| [in] | pLogData | Log structure instance to fill. |
| [in] | pStreamBuffer | Input stream buffer to read the log from. |
| SbgErrorCode sbgEComLogRestApiActionWriteToStream | ( | const SbgEComLogRestApiAction * | pLogData, |
| SbgStreamBuffer * | pStreamBuffer ) |
Write data for the SBG_ECOM_LOG_REST_API_ACTION message to the output stream buffer from the provided structure.
| [in] | pLogData | Log structure instance to write. |
| [out] | pStreamBuffer | Output stream buffer to write the log to. |