A library for talking to Multi-Tech's Cellular SocketModem Devices.

Dependents:   M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more

Revision:
84:77c5ab16534d
Parent:
71:82205735732b
Child:
85:b17ad6781c5b
--- a/cellular/Cellular.cpp	Thu Dec 26 23:32:02 2013 +0000
+++ b/cellular/Cellular.cpp	Fri Dec 27 15:51:19 2013 +0000
@@ -1,6 +1,3 @@
-#ifndef CELLULAR_CPP
-#define CELLULAR_CPP
-
 #include "Cellular.h"
 #include "MTSText.h"
 #include "MTSSerial.h"
@@ -309,6 +306,7 @@
         printf("[ERROR] Socket is not open\r\n");
         return -1;
     }
+
     int bytesRead = 0;
     
     if(timeout >= 0) {
@@ -817,5 +815,3 @@
             return "UNKNOWN ENUM";
     }
 }
-
-#endif /* CELLULAR_CPP */
\ No newline at end of file