/******************************************************************************** * File Name: QueueMsg.h * Function Describe: Header file for QueueMsg.c * Explain: * Writer: ShiLiangWen * Date: 2015-7-2 *******************************************************************************/ #define RECV_BUFFER_LEN 2048 #define MSG_QUEUE_NUM_MAX 10 // //typedef struct{ // unsigned char MsgFlag; // unsigned char MsgType; // unsigned short MsgLen; // unsigned short MsgDataReadIndex; //}SUT_MSG; // //typedef struct{ // unsigned short MsgNum;//消息个数 // unsigned short MsgInIndex; // unsigned short MsgOutIndex; // SUT_MSG MsgBuf[MSG_QUEUE_NUM_MAX]; //消息队列缓冲区 //}SUT_MSG_QUEUE; // //extern SUT_RECV_BUFFER RecvBuf; //extern SUT_MSG_QUEUE MsgQueue;