16 #include "msgio/msg_p.h" 45 if (payloadLen && payload)
47 msg->bytesInBuffer=len;
55 if (msg && msg->bytesInBuffer>4) {
64 else if (msg->bytesInBuffer>=len)
74 if (msg && msg->bytesInBuffer>4) {
#define GWEN_MSGIPC_OFFS_PROTOID
#define GWEN_MSGIPC_OFFS_PROTOVER
uint16_t GWEN_IpcMsg_GetCode(const GWEN_MSG *msg)
int GWEN_IpcMsg_IsMsgComplete(const GWEN_MSG *msg)
#define GWEN_MSGIPC_OFFS_CODE
GWEN_MSG * GWEN_Msg_new(uint32_t bufferSize)
uint8_t GWEN_IpcMsg_GetProtoVersion(const GWEN_MSG *msg)
#define GWEN_MSGIPC_OFFS_PAYLOAD
#define GWEN_MSGIPC_OFFS_SIZE
GWEN_MSG * GWEN_IpcMsg_new(uint8_t protoId, uint8_t protoVer, uint16_t code, uint32_t payloadLen, const uint8_t *payload)
uint8_t GWEN_IpcMsg_GetProtoId(const GWEN_MSG *msg)
uint32_t GWEN_IpcMsg_GetMsgSize(const GWEN_MSG *msg)