Wen-ting Lo / Mbed OS STM32F303RE_LPG

Dependencies:   MQTT

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LPG_ATCmd_Processing.cpp Source File

LPG_ATCmd_Processing.cpp

00001 
00002 #include "LPG_ATCmd_Processing.h"
00003 
00004 Timer TimeOutCounter;
00005 
00006 tsATCmds ATCmds[] = 
00007 {
00008     {(char*)"AT+CFUN=0\r\n",(char*)"OK",2000,e_NO_REC,3},
00009     {(char*)"AT+CFUN=1\r\n",(char*)"OK",2000,e_NO_REC,3},
00010     {(char*)"AT+CGATT=1\r\n",(char*)"OK",2000,e_NO_REC,3}
00011 };
00012 
00013 void LPG_ATCmd_Processing_WriteCommand(const char* Command, RawSerial TransPort, RawSerial DebugPort)
00014 {
00015     LPG_ATCmd_Processing_WriteCommand(Command, TransPort);
00016     DebugPort.puts("UART Sended.\r\n");    
00017 }
00018 void LPG_ATCmd_Processing_WriteCommand(const char* Command, RawSerial TransPort)
00019 {
00020     TransPort.puts((const char*)Command);
00021 }
00022 
00023 void LPG_ATCmd_Processing_Receive(const char* Key)
00024 {
00025     
00026 }
00027 
00028 
00029 
00030