Support for LISA-N101
Fork of C027_Support by
This is a variant of the C027 driver code for the C027N version, i.e. the one with the Neul/Huawei/u-blox Cellular Internet of Things module on board. The AT command interface for this module is entirely different to the AT interface for the other u-blox modules, hence this fork of the driver. Work is underway to rearchitect the original C027 driver so that a merge can be done.
Diff: Socket/Socket.h
- Revision:
- 49:8175b2b72d6b
- Parent:
- 47:9a89e5195721
- Child:
- 54:7ba8e4c218e2
--- a/Socket/Socket.h Fri May 09 17:44:40 2014 +0000 +++ b/Socket/Socket.h Fri May 09 17:49:32 2014 +0000 @@ -25,7 +25,6 @@ int close() { bool ret = false; - printf("\r\n++++ socket closing\r\n\r\n"); if (_socket >= 0) { ret = _mdm->socketClose(_socket); @@ -35,8 +34,7 @@ return ret ? 0 : -1; } - ~Socket() { printf("\r\n++++ socket free\r\n\r\n"); - close(); } + ~Socket() { close(); } protected: int _socket;