a library to use GPRS like ethernet or wifi, which makes it possible to connect to the internet with your GPRS module
Dependencies: BufferedSerial
Dependents: ThinkSpeak_Test roam_v1 roam_v2 finalv3
Fork of GPRSInterface by
Diff: GPRS/modem/modem.h
- Revision:
- 1:7298a7950f65
- Parent:
- 0:8ccbd963e74d
- Child:
- 6:464ccda1ebcc
--- 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;