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:
55:a0f7295ed6b6
Parent:
52:8f1370084268
Child:
67:c360a2b2c948
--- a/DeviceBootstrap.h	Wed Sep 03 14:36:55 2014 +0000
+++ b/DeviceBootstrap.h	Thu Oct 23 12:50:07 2014 +0000
@@ -4,7 +4,7 @@
 #include <stddef.h>
 #include "MDM.h"
 #include "DeviceIO.h"
-#include "SmartRest.h"
+#include "AbstractSmartRest.h"
 #include "DeviceInfo.h"
 
 /** The username used for device bootstrapping. */
@@ -20,7 +20,7 @@
 class DeviceBootstrap
 {
 public:
-    DeviceBootstrap(SmartRest&, MDMSerial&, DeviceIO&, DeviceInfo&);
+    DeviceBootstrap(AbstractSmartRest&, MDMSerial&, DeviceIO&, DeviceInfo&);
     
     bool setUpCredentials();
     const char * username();
@@ -35,7 +35,7 @@
     void setCredentials(const char *, const char*, const char*);
 
 private:
-    SmartRest& _client;
+    AbstractSmartRest& _client;
     MDMSerial& _mdm;
     DeviceInfo& _deviceInfo;
     DeviceIO& _io;