Basic

Dependencies:   MQTT

Branch:
Flash_Exam
Revision:
7:e556528beeba
Parent:
6:86eea1bcf499
--- a/LPG_ATCmd_Processing/LPG_ATCmd_Processing.cpp	Wed Apr 24 03:30:36 2019 +0000
+++ b/LPG_ATCmd_Processing/LPG_ATCmd_Processing.cpp	Wed Apr 24 05:03:00 2019 +0000
@@ -5,32 +5,26 @@
 
 tsATCmds ATCmds[] = 
 {
-    {(char*)"ATI\r\n",(char*)"OK",2000,e_NO_REC,3},
     {(char*)"AT+CFUN=0\r\n",(char*)"OK",2000,e_NO_REC,3},
     {(char*)"AT+CFUN=1\r\n",(char*)"OK",2000,e_NO_REC,3},
-    {(char*)"AT+CGATT=1\r\n",(char*)"OK",2000,e_NO_REC,3},
-    {(char*)"AT+GSN\r\n",(char*)"OK",2000,e_NO_REC,3},
-    
-    
+    {(char*)"AT+CGATT=1\r\n",(char*)"OK",2000,e_NO_REC,3}
 };
 
 void LPG_ATCmd_Processing_WriteCommand(const char* Command, RawSerial TransPort, RawSerial DebugPort)
 {
     LPG_ATCmd_Processing_WriteCommand(Command, TransPort);
-    /*DebugPort.puts("UART Sended.\r\n");*/    
+    DebugPort.puts("UART Sended.\r\n");    
 }
 void LPG_ATCmd_Processing_WriteCommand(const char* Command, RawSerial TransPort)
 {
     TransPort.puts((const char*)Command);
 }
 
-void LPG_ATCmd_Processing_ModuleStateCheck()
+void LPG_ATCmd_Processing_Receive(const char* Key)
 {
     
-    
 }
 
 
 
 
-