Rev 245 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 245 | Rev 460 | ||
---|---|---|---|
Line 18... | Line 18... | ||
18 | u16 DataLen; |
18 | u16 DataLen; |
19 | } __attribute__((packed)) SerialMsg_t; |
19 | } __attribute__((packed)) SerialMsg_t; |
Line 20... | Line 20... | ||
20 | 20 | ||
21 | u8 MKProtocol_CollectSerialFrame(Buffer_t* pRxBuff, u8 c); |
21 | u8 MKProtocol_CollectSerialFrame(Buffer_t* pRxBuff, u8 c); |
- | 22 | u8 MKProtocol_CreateSerialFrame(Buffer_t* pTxBuff, u8 CmdID, u8 Address, u8 numofbuffers , ...); //u8 *data, u8 len, ....; |
|
22 | u8 MKProtocol_CreateSerialFrame(Buffer_t* pTxBuff, u8 CmdID, u8 Address, u8 numofbuffers , ...); //u8 *data, u8 len, ....; |
23 | u8 AddSerialData(Buffer_t* pTxBuff, u8 *buffer, u16 size); |
23 | void MKProtocol_DecodeSerialFrameHeader(Buffer_t* pRxBuff, SerialMsg_t* pSerialMsg); |
24 | void MKProtocol_DecodeSerialFrameHeader(Buffer_t* pRxBuff, SerialMsg_t* pSerialMsg); |
Line 24... | Line 25... | ||
24 | void MKProtocol_DecodeSerialFrameData(Buffer_t* pRxBuff, SerialMsg_t* pSerialMsg); |
25 | void MKProtocol_DecodeSerialFrameData(Buffer_t* pRxBuff, SerialMsg_t* pSerialMsg); |