Subversion Repositories NaviCtrl

Rev

Rev 460 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 460 Rev 597
Line 17... Line 17...
17
        u8* pData;
17
        u8* pData;
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
u16 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
u8 AddSerialData(Buffer_t* pTxBuff, u8 *buffer, u16 size);
24
void MKProtocol_DecodeSerialFrameHeader(Buffer_t* pRxBuff, SerialMsg_t* pSerialMsg);
24
void MKProtocol_DecodeSerialFrameHeader(Buffer_t* pRxBuff, SerialMsg_t* pSerialMsg);
Line 25... Line 25...
25
void MKProtocol_DecodeSerialFrameData(Buffer_t* pRxBuff, SerialMsg_t* pSerialMsg);
25
void MKProtocol_DecodeSerialFrameData(Buffer_t* pRxBuff, SerialMsg_t* pSerialMsg);