Support for LISA-N101

Fork of C027_Support by u-blox

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.

Revision:
54:7ba8e4c218e2
Parent:
47:9a89e5195721
Child:
60:1f65abb842be
--- a/Socket/TCPSocketConnection.h	Mon May 12 07:39:29 2014 +0000
+++ b/Socket/TCPSocketConnection.h	Mon May 12 13:00:27 2014 +0000
@@ -21,6 +21,10 @@
     */
     int connect(const char* host, const int port)
     {
+        _mdm = MDMParser::getInstance();
+        if (_mdm == NULL)
+            return -1;
+            
         if (_socket < 0) {
             _socket = _mdm->socketSocket(MDMParser::IPPROTO_TCP);
             if (_socket < 0) {