CMD0xE4_Request_TestCommunicate.c 717 B

12345678910111213141516171819
  1. #include <string.h>
  2. #include "CommandsDefine.h"
  3. #include "usart.h"
  4. #include "ProjectConfig.h"
  5. #include "DebugDataDefine.h"
  6. #include "Helper.h"
  7. //////////////////////////////////////////////////////////////////////////////
  8. // 2203/4/X GHz_ljw 合并版
  9. //////////////////////////////////////////////////////////////////////////////
  10. void CMD0xE4_Request_TestCommunicate_process(u8 *pData,u16 dataLen,u8 bIsContentBitInverted_Recv,u8 bIsContentBitInverted_SendBack)
  11. {
  12. #ifdef RUNNING_WHERE_AT_BOOT
  13. Command_SendbackErrorMessage(Error0x02_CannotRunAtBoot,1);
  14. #else
  15. u8 dataBytes=128;
  16. memcpy(USART_WR_BUF,pData,128);
  17. USART6_Send(CMD0xE4_Request_TestCommunicate,dataBytes,bIsContentBitInverted_SendBack);
  18. #endif
  19. }