C027 updated to work with latest mBed libraries

Dependents:   Cellular_HelloMQTT UBLOXModemDriver UBLOXMQTTDriver

Fork of C027_Support by u-blox

Revision:
31:a0bed6c1e05d
Parent:
24:0e287a85ac9e
Child:
38:e6cab4632d84
diff -r 1a647403171b -r a0bed6c1e05d GPS.h
--- a/GPS.h	Tue Apr 08 15:49:04 2014 +0000
+++ b/GPS.h	Wed Apr 09 11:48:04 2014 +0000
@@ -19,6 +19,7 @@
     #define WAIT      -1
     #define NOT_FOUND  0
     
+    #define UNKNOWN     0x000000
     #define UBX         0x100000
     #define NMEA        0x200000
     #define LENGTH(x)   (x & 0x00FFFF)
@@ -28,6 +29,7 @@
     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 = NULL, int len = 0);
+    void powerOff(void);
     
     static const char* findNmeaItemPos(int ix, const char* start, const char* end);
     static bool getNmeaItem(int ix, char* buf, int len, double& val);