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:
- 6:464ccda1ebcc
- Parent:
- 1:7298a7950f65
- Child:
- 9:38800611a613
--- a/GPRS/modem/modem.h Mon Mar 03 06:06:14 2014 +0000 +++ b/GPRS/modem/modem.h Mon Apr 28 13:01:23 2014 +0000 @@ -47,7 +47,8 @@ Modem(PinName tx, PinName rx, int baudRate) : serialModem(tx, rx) { serialModem.baud(baudRate); }; - + + Serial serialModem; protected: /** Power on Modem */ @@ -118,7 +119,6 @@ */ int sendCmdAndWaitForResp(const char* data, const char *resp, unsigned timeout,DataType type); - Serial serialModem; Timer timeCnt; private: