Simple detection for LE910-NA1 modules
Fork of MTS-Cellular by
Diff: Cellular/UIP.h
- Revision:
- 66:8c55e2bf7270
- Parent:
- 56:43205bd2752a
- Child:
- 67:7c705fe2acec
--- a/Cellular/UIP.h Mon Aug 18 19:42:44 2014 +0000 +++ b/Cellular/UIP.h Tue Oct 21 17:26:05 2014 +0000 @@ -78,7 +78,7 @@ // TCP and UDP Socket related commands // For behavior of the following methods refer to IPStack.h documentation virtual bool open(const std::string& address, unsigned int port, Mode mode); - virtual bool close(); + virtual bool close(bool clearBufffer); virtual int read(char* data, int max, int timeout = -1); virtual int write(const char* data, int length, int timeout = -1); virtual bool ping(const std::string& address = "8.8.8.8");