Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
LPG_ATCmd_Processing/LPG_ATCmd_Processing.cpp
- Committer:
- lwtroach
- Date:
- 2019-04-23
- Revision:
- 2:e90526c0bcbe
- Parent:
- 0:6bdfb6ccd136
- Child:
- 4:418b6d4097e1
File content as of revision 2:e90526c0bcbe:
#include "LPG_ATCmd_Processing.h" Timer TimeOutCounter; tsATCmds ATCmds[] = { {(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} }; void LPG_ATCmd_Processing_WriteCommand(const char* command, RawSerial TransPort, RawSerial DebugPort) { LPG_ATCmd_Processing_WriteCommand(command,TransPort); 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_Receive() { }