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 wei zou

Revision:
4:1142bdd07989
Parent:
3:acf2ea413e72
Child:
7:1bdcfd6da2d0
diff -r acf2ea413e72 -r 1142bdd07989 GPRS/GPRS.cpp
--- a/GPRS/GPRS.cpp	Wed Feb 26 09:12:46 2014 +0000
+++ b/GPRS/GPRS.cpp	Thu Feb 27 07:25:20 2014 +0000
@@ -173,7 +173,7 @@
     if (is_connected(socket) == false) {
         return true;
     }
-    snprintf(cmd, sizeof(cmd),"AT+CIPCOLSE=%d\r\n",socket);
+    snprintf(cmd, sizeof(cmd),"AT+CIPCLOSE=%d\r\n",socket);
     snprintf(resp,sizeof(resp),"%d, CLOSE OK",socket);
     if(0 != sendCmdAndWaitForResp(cmd, resp, DEFAULT_TIMEOUT,CMD)) {
         return false;