33 #ifndef SBG_ECOM_CMD_COMMON_H
34 #define SBG_ECOM_CMD_COMMON_H
50 #define SBG_ECOM_DEFAULT_CMD_TIME_OUT (500)
Main header for the SBG Systems common C library.
Contains main sbgECom methods.
SbgErrorCode sbgEComReceiveCmd(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msgId, void *pData, size_t *pSize, size_t maxSize, uint32_t timeOut)
SbgErrorCode sbgEComReceiveAnyCmd(SbgEComHandle *pHandle, uint8_t *pMsgClass, uint8_t *pMsgId, void *pData, size_t *pSize, size_t maxSize, uint32_t timeOut)
enum _SbgEComAxisDirection SbgEComAxisDirection
SbgErrorCode sbgEComWaitForAck(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, uint32_t timeOut)
_SbgEComRejectionMode
Definition: sbgEComCmdCommon.h:56
@ SBG_ECOM_AUTOMATIC_MODE
Definition: sbgEComCmdCommon.h:58
@ SBG_ECOM_ALWAYS_ACCEPT_MODE
Definition: sbgEComCmdCommon.h:59
@ SBG_ECOM_NEVER_ACCEPT_MODE
Definition: sbgEComCmdCommon.h:57
enum _SbgEComRejectionMode SbgEComRejectionMode
SbgErrorCode sbgEComReceiveCmd2(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msgId, SbgEComProtocolPayload *pPayload, uint32_t timeOut)
SbgErrorCode sbgEComCmdGenericSetModelId(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, uint32_t modelId)
SbgErrorCode sbgEComCmdGenericGetModelId(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, uint32_t *pModelId)
_SbgEComAxisDirection
Definition: sbgEComCmdCommon.h:66
@ SBG_ECOM_ALIGNMENT_DOWN
Definition: sbgEComCmdCommon.h:72
@ SBG_ECOM_ALIGNMENT_RIGHT
Definition: sbgEComCmdCommon.h:70
@ SBG_ECOM_ALIGNMENT_BACKWARD
Definition: sbgEComCmdCommon.h:68
@ SBG_ECOM_ALIGNMENT_FORWARD
Definition: sbgEComCmdCommon.h:67
@ SBG_ECOM_ALIGNMENT_UP
Definition: sbgEComCmdCommon.h:71
@ SBG_ECOM_ALIGNMENT_LEFT
Definition: sbgEComCmdCommon.h:69
SbgErrorCode sbgEComReceiveAnyCmd2(SbgEComHandle *pHandle, uint8_t *pMsgClass, uint8_t *pMsgId, SbgEComProtocolPayload *pPayload, uint32_t timeOut)
SbgErrorCode sbgEComSendAck(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, SbgErrorCode cmdError)
enum _SbgErrorCode SbgErrorCode
Definition: sbgEComProtocol.h:112