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
Diff: cellular/Cellular.cpp
- Revision:
- 88:a54018a0c576
- Parent:
- 87:5db6c084adc7
- Parent:
- 85:b17ad6781c5b
- Child:
- 91:9439ad14d7f0
--- a/cellular/Cellular.cpp Fri Dec 27 16:47:09 2013 +0000 +++ b/cellular/Cellular.cpp Fri Dec 27 16:48:30 2013 +0000 @@ -1,6 +1,3 @@ -#ifndef CELLULAR_CPP -#define CELLULAR_CPP - #include "Cellular.h" #include "MTSText.h" #include "MTSSerial.h" @@ -324,6 +321,7 @@ printf("[ERROR] Socket is not open\r\n"); return -1; } + int bytesRead = 0; if(timeout >= 0) { @@ -828,5 +826,3 @@ return "UNKNOWN ENUM"; } } - -#endif /* CELLULAR_CPP */ \ No newline at end of file