Simple detection for LE910-NA1 modules
Fork of MTS-Cellular by
Diff: Cellular/EasyIP.h
- Revision:
- 66:8c55e2bf7270
- Parent:
- 56:43205bd2752a
- Child:
- 67:7c705fe2acec
diff -r 2cdd943bb3a3 -r 8c55e2bf7270 Cellular/EasyIP.h --- a/Cellular/EasyIP.h Mon Aug 18 19:42:44 2014 +0000 +++ b/Cellular/EasyIP.h Tue Oct 21 17:26:05 2014 +0000 @@ -85,7 +85,7 @@ // 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 clearBuffer); virtual int read(char* data, int max, int timeout = -1); virtual int write(const char* data, int length, int timeout = -1);