offer some API for GPRS use, such as call / sms / tcp connect

Dependents:   SDP_Testing

Fork of GPRS by wei zou

Files at this revision

API Documentation at this revision

Comitter:
lawliet
Date:
Mon Feb 10 03:23:02 2014 +0000
Parent:
5:ac2342f162fa
Child:
7:1278e9dde24e
Commit message:
version 2.2(make gprsSerial public)

Changed in this revision

gprs.h Show annotated file Show diff for this revision Revisions of this file
--- a/gprs.h	Wed Jan 22 02:04:57 2014 +0000
+++ b/gprs.h	Mon Feb 10 03:23:02 2014 +0000
@@ -172,7 +172,7 @@
      */
     int shutTCP(void);
 
-
+    Serial gprsSerial;
     //USBSerial pc;
 private:
     /** read from GPRS module and save to buffer array
@@ -208,7 +208,6 @@
      */
     int sendCmdAndWaitForResp(char *cmd, char *resp, int timeout);
 
-    Serial gprsSerial;
     Timer timeCnt;
     char *phoneNumber;
     char messageBuffer[SMS_MAX_LENGTH];