support library for C027 helper functions for Buffer Pipes, Buffered Serial Port (rtos capable) and GPS parsing. It includes modem APIs for USSD, SMS and Sockets.

Fork of C027_Support by u-blox

Revision:
139:7ba694cb0f9d
Parent:
95:8282dbbe1492
--- a/GPS.cpp	Thu Feb 25 13:22:34 2016 +0000
+++ b/GPS.cpp	Mon Oct 03 12:14:48 2016 +0000
@@ -8,8 +8,11 @@
 void GPSParser::powerOff(void)
 {
     // set the gps into backup mode using the command RMX-LPREQ
-    struct { unsigned long dur; unsigned long flags; } msg = {0/*endless*/,0/*backup*/};
+    //struct { unsigned long dur; unsigned long flags; } msg = {0/*endless*/,0/*backup*/};
+    // updated for M8
+    struct { unsigned long dur; unsigned long flags; } msg = {0, 2};
     sendUbx(0x02, 0x41, &msg, sizeof(msg));
+    
 }
 
 int GPSParser::_getMessage(Pipe<char>* pipe, char* buf, int len)