21 #ifndef SBG_INTERFACE_UDP_H 22 #define SBG_INTERFACE_UDP_H 34 #define SBG_INTERFACE_UDP_PACKET_MAX_SIZE (1400) This file implements the base interface for all Serial and Ethernet ports.
#define SBG_COMMON_LIB_API
struct _SbgInterfaceUdp SbgInterfaceUdp
SBG_COMMON_LIB_API SbgErrorCode sbgInterfaceUdpDestroy(SbgInterface *pHandle)
SBG_COMMON_LIB_API SbgErrorCode sbgInterfaceUdpAllowBroadcast(SbgInterface *pHandle, bool allowBroadcast)
SBG_COMMON_LIB_API SbgErrorCode sbgInterfaceUdpWrite(SbgInterface *pHandle, const void *pBuffer, size_t bytesToWrite)
SBG_COMMON_LIB_API SbgErrorCode sbgInterfaceUdpRead(SbgInterface *pHandle, void *pBuffer, size_t *pReadBytes, size_t bytesToRead)
SBG_COMMON_LIB_API SbgErrorCode sbgInterfaceUdpCreate(SbgInterface *pHandle, sbgIpAddress remoteAddr, uint32_t remotePort, uint32_t localPort)
enum _SbgErrorCode SbgErrorCode