Cumulocity Official / Mbed 2 deprecated MbedSmartRestMain Featured

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Vincent Wochnik

Revision:
93:0acd11870c6a
Parent:
82:ca7430f50b2b
Child:
94:61d44636f020
--- a/measurement/LocationUpdate.h	Fri Mar 20 14:27:10 2015 +0000
+++ b/measurement/LocationUpdate.h	Mon Apr 13 14:24:58 2015 +0000
@@ -4,14 +4,13 @@
 #include "AbstractSmartRest.h"
 #include "SmartRestTemplate.h"
 #include "GPSTracker.h"
-#include "DeviceIO.h"
 #include "DeviceInfo.h"
-#include "DisplayInfo.h"
+#include "LCDDisplay.h"
 
 class LocationUpdate
 {
 public:
-    LocationUpdate(AbstractSmartRest&, SmartRestTemplate&, long&, GPSTracker&, DeviceIO&, DeviceInfo&, DisplayInfo&);
+    LocationUpdate(AbstractSmartRest&, SmartRestTemplate&, long&, GPSI2C&, DeviceInfo&, LCDDisplay&);
     
     bool init();
     bool run();
@@ -21,12 +20,11 @@
     long& _deviceId;
     SmartRestTemplate& _tpl;
     AbstractSmartRest& _client;
-    GPSTracker& _gpsTracker;
+    GPSTracker _gpsTracker;
     float oldValues[3];
     Timer sendingTimer;
-    DeviceIO& _io;
     DeviceInfo& _deviceInfo;
-    DisplayInfo& _displayInfo;
+    LCDDisplay& _lcdDisplay;
 };
 
 #endif
\ No newline at end of file