Official reference client implementation for Cumulocity SmartREST on u-blox C027.

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Vincent Wochnik

Revision:
99:e369fc75c000
Parent:
93:0acd11870c6a
Child:
107:fc5f25f0e0d5
--- a/io/GPSTracker.cpp	Mon Apr 27 13:30:21 2015 +0000
+++ b/io/GPSTracker.cpp	Thu May 07 09:57:55 2015 +0000
@@ -3,11 +3,12 @@
 #include "GPSTracker.h"
 #include "logging.h"
 
-GPSTracker::GPSTracker(GPSI2C& gps) :
-    _gps(gps),
+GPSTracker::GPSTracker() :
+    _gps(),
     _thread(GPSTracker::thread_func, this),
     _positionSet(false)
 {
+    _gps.init();
 }
 
 bool GPSTracker::position(GPSTracker::Position *position)