sbgEComTransfer.h
Go to the documentation of this file.
1 
21 #ifndef __SBG_ECOM_TRANSFER_H__
22 #define __SBG_ECOM_TRANSFER_H__
23 
24 #include <sbgCommon.h>
25 #include "../../sbgECom.h"
26 
27 //----------------------------------------------------------------------//
28 //- Global definitions -//
29 //----------------------------------------------------------------------//
30 
31 #define SBG_ECOM_TRANSFER_MAX_SIZE (8192u)
32 #define SBG_ECOM_TRANSFER_PACKET_SIZE (1300u)
34 //----------------------------------------------------------------------//
35 //- Communication protocol structs and definitions -//
36 //----------------------------------------------------------------------//
37 
41 typedef enum _SbgEComTransferCmd
42 {
47 
48 //----------------------------------------------------------------------//
49 //- Protocol transfer operations -//
50 //----------------------------------------------------------------------//
51 
61 SbgErrorCode sbgEComTransferSend(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, const void *pBuffer, size_t size);
62 
73 SbgErrorCode sbgEComTransferReceive(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, void *pBuffer, size_t *pActualSize, size_t bufferSize);
74 
75 #endif
SbgErrorCode sbgEComTransferReceive(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, void *pBuffer, size_t *pActualSize, size_t bufferSize)
SbgErrorCode sbgEComTransferSend(SbgEComHandle *pHandle, uint8_t msgClass, uint8_t msg, const void *pBuffer, size_t size)
Main header file for SBG Systems common C library.
enum _SbgErrorCode SbgErrorCode
_SbgEComTransferCmd
enum _SbgEComTransferCmd SbgEComTransferCmd


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