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:
73:313975bfec96
Parent:
71:063c45e99578
Child:
82:ca7430f50b2b
--- a/measurement/AnalogMeasurement.h	Mon Feb 16 13:15:52 2015 +0000
+++ b/measurement/AnalogMeasurement.h	Tue Feb 17 16:31:30 2015 +0000
@@ -4,11 +4,14 @@
 #include "SmartRest.h"
 #include "SmartRestTemplate.h"
 #include "mbed.h"
+#include "DeviceIO.h"
+#include "DeviceInfo.h"
+#include "DeviceBootstrap.h"
 
 class AnalogMeasurement
 {
 public:
-    AnalogMeasurement(AbstractSmartRest&, SmartRestTemplate&, long&, AnalogIn&, AnalogIn&);
+    AnalogMeasurement(AbstractSmartRest&, SmartRestTemplate&, long&, AnalogIn&, AnalogIn&, DeviceIO&, DeviceInfo&, DeviceBootstrap&);
     
     bool init();
     bool run();
@@ -22,6 +25,9 @@
     AnalogIn& _analog2;
     float oldValues[2];
     Timer sendingTimer;
+    DeviceIO& _io;
+    DeviceInfo& _deviceInfo;
+    DeviceBootstrap& _bootstrap;
 };
 
 #endif
\ No newline at end of file