portable version of the cumulocity demo

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

Revision:
42:104746744af8
Parent:
41:804f6a0bda26
Child:
47:89ae46d5c466
--- a/MbedAgent.h	Tue Jul 15 12:44:34 2014 +0000
+++ b/MbedAgent.h	Thu Jul 24 14:17:07 2014 +0000
@@ -21,7 +21,7 @@
 class MbedAgent
 {
 public:
-    MbedAgent(MDMSerial&, DeviceInfo&);
+    MbedAgent(DeviceIO&, MDMSerial&, DeviceInfo&);
     
     bool init();
     bool run();
@@ -30,7 +30,7 @@
     void loop();
     
 private:
-    DeviceIO _io;
+    DeviceIO& _io;
     MDMSerial& _mdm;
     DeviceInfo& _deviceInfo;
     MbedSmartRest _client;