ModemMsg.h 782 B

123456789101112131415161718192021222324252627
  1. /********************************************************************************
  2. * File Name: QueueMsg.h
  3. * Function Describe: Header file for QueueMsg.c
  4. * Explain:
  5. * Writer: ShiLiangWen
  6. * Date: 2015-7-2
  7. *******************************************************************************/
  8. #define RECV_BUFFER_LEN 2048
  9. #define MSG_QUEUE_NUM_MAX 10
  10. //
  11. //typedef struct{
  12. // unsigned char MsgFlag;
  13. // unsigned char MsgType;
  14. // unsigned short MsgLen;
  15. // unsigned short MsgDataReadIndex;
  16. //}SUT_MSG;
  17. //
  18. //typedef struct{
  19. // unsigned short MsgNum;//消息个数
  20. // unsigned short MsgInIndex;
  21. // unsigned short MsgOutIndex;
  22. // SUT_MSG MsgBuf[MSG_QUEUE_NUM_MAX]; //消息队列缓冲区
  23. //}SUT_MSG_QUEUE;
  24. //
  25. //extern SUT_RECV_BUFFER RecvBuf;
  26. //extern SUT_MSG_QUEUE MsgQueue;