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.
Dependencies: BufferedSerial
Dependents: ThinkSpeak_Test roam_v1 roam_v2 finalv3
Fork of GPRSInterface by
Revision 6:464ccda1ebcc, committed 2014-04-28
- Comitter:
- lawliet
- Date:
- Mon Apr 28 13:01:23 2014 +0000
- Parent:
- 5:c4db857fb1be
- Child:
- 7:1bdcfd6da2d0
- Commit message:
- make SerialModel to be public member.
Changed in this revision
| GPRS/modem/modem.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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:
