portable version of the cumulocity demo

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

Revision:
52:8f1370084268
Parent:
46:f6976fd64387
--- a/DeviceBootstrap.h	Tue Jul 29 17:53:43 2014 +0000
+++ b/DeviceBootstrap.h	Wed Aug 13 10:55:11 2014 +0000
@@ -3,6 +3,7 @@
 
 #include <stddef.h>
 #include "MDM.h"
+#include "DeviceIO.h"
 #include "SmartRest.h"
 #include "DeviceInfo.h"
 
@@ -19,7 +20,7 @@
 class DeviceBootstrap
 {
 public:
-    DeviceBootstrap(SmartRest&, MDMSerial&, DeviceInfo&);
+    DeviceBootstrap(SmartRest&, MDMSerial&, DeviceIO&, DeviceInfo&);
     
     bool setUpCredentials();
     const char * username();
@@ -37,6 +38,7 @@
     SmartRest& _client;
     MDMSerial& _mdm;
     DeviceInfo& _deviceInfo;
+    DeviceIO& _io;
     char _username[DEVICE_BOOTSTRAP_CREDENTIALS_LENGTH],                    
          _password[DEVICE_BOOTSTRAP_CREDENTIALS_LENGTH];
 };