sbgECom Library  5.2.590-stable
Interface SBG Systems IMU/AHRS/INS
Loading...
Searching...
No Matches
sbgEComCmdApi.h
Go to the documentation of this file.
1
32
33#ifndef SBG_ECOM_CMD_API_H
34#define SBG_ECOM_CMD_API_H
35
36// sbgCommonLib headers
37#include <sbgCommon.h>
38
39// Project headers
40#include <sbgECom.h>
42
43#ifdef __cplusplus
44extern "C" {
45#endif
46
47//----------------------------------------------------------------------//
48//- Structure definitions -//
49//----------------------------------------------------------------------//
50
64
65//----------------------------------------------------------------------//
66//- Public methods -//
67//----------------------------------------------------------------------//
68
75
82
90
102SbgErrorCode sbgEComCmdApiGet(SbgEComHandle *pHandle, const char *pPath, const char *pQuery, SbgEComCmdApiReply *pReply);
103
116SbgErrorCode sbgEComCmdApiPost(SbgEComHandle *pHandle, const char *pPath, const char *pQuery, const char *pBody, SbgEComCmdApiReply *pReply);
117
118#ifdef __cplusplus
119}
120#endif
121
122#endif // SBG_ECOM_CMD_API_H
Main header for the SBG Systems common C library.
Contains main sbgECom methods.
struct _SbgEComHandle SbgEComHandle
Definition sbgECom.h:62
SbgErrorCode sbgEComCmdApiGet(SbgEComHandle *pHandle, const char *pPath, const char *pQuery, SbgEComCmdApiReply *pReply)
bool sbgEComCmdApiReplySuccessful(const SbgEComCmdApiReply *pReply)
void sbgEComCmdApiReplyDestroy(SbgEComCmdApiReply *pReply)
struct _SbgEComCmdApiReply SbgEComCmdApiReply
SbgErrorCode sbgEComCmdApiPost(SbgEComHandle *pHandle, const char *pPath, const char *pQuery, const char *pBody, SbgEComCmdApiReply *pReply)
void sbgEComCmdApiReplyConstruct(SbgEComCmdApiReply *pReply)
Implementation of the sbgECom binary communication protocol.
struct _SbgEComProtocolPayload SbgEComProtocolPayload
enum _SbgErrorCode SbgErrorCode
Definition sbgEComCmdApi.h:59
uint16_t statusCode
Definition sbgEComCmdApi.h:61
SbgEComProtocolPayload payload
Definition sbgEComCmdApi.h:60
const char * pContent
Definition sbgEComCmdApi.h:62