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:
11:b084552b03fe
Parent:
9:e7a5959ffae1
Child:
13:e2446fcdc246
--- a/GPS.h	Thu Nov 14 12:57:21 2013 +0000
+++ b/GPS.h	Thu Nov 14 15:52:36 2013 +0000
@@ -22,7 +22,7 @@
     virtual int getMessage(char* buf, int len) = 0; 
     virtual int send(const char* buf, int len);
     virtual int sendNmea(const char* buf, int len);
-    virtual int sendUbx(unsigned char cls, unsigned char id, const void* buf, int len);
+    virtual int sendUbx(unsigned char cls, unsigned char id, const void* buf = NULL, int len = 0);
     
     static const char* findNmeaItemPos(int ix, const char* start, const char* end);
     static bool getNmeaItem(int ix, char* buf, int len, double& val);
@@ -58,7 +58,7 @@
     virtual int getMessage(char* buf, int len);
     virtual int send(const char* buf, int len);
     virtual int sendNmea(const char* buf, int len);
-    virtual int sendUbx(unsigned char cls, unsigned char id, const void* buf, int len);
+    virtual int sendUbx(unsigned char cls, unsigned char id, const void* buf = NULL, int len = 0);
 protected:
     virtual char next(void);
     bool writeable(void) { return true; }