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.
Fork of GPRSInterface by
Diff: GPRS/modem/modem.h
- Revision:
- 1:7298a7950f65
- Parent:
- 0:8ccbd963e74d
- Child:
- 6:464ccda1ebcc
diff -r 8ccbd963e74d -r 7298a7950f65 GPRS/modem/modem.h
--- a/GPRS/modem/modem.h Tue Feb 25 02:52:48 2014 +0000
+++ b/GPRS/modem/modem.h Tue Feb 25 05:56:19 2014 +0000
@@ -47,7 +47,8 @@
Modem(PinName tx, PinName rx, int baudRate) : serialModem(tx, rx) {
serialModem.baud(baudRate);
};
-
+
+protected:
/** Power on Modem
*/
void preInit(void);
@@ -117,11 +118,6 @@
*/
int sendCmdAndWaitForResp(const char* data, const char *resp, unsigned timeout,DataType type);
-
- /** used for serial debug, you can specify tx and rx pin and then communicate with GPRS module with common AT commands
- */
- void serialDebug(void);
-
Serial serialModem;
Timer timeCnt;