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:
108:f1ee3e1eb126
Parent:
107:fc5f25f0e0d5
Child:
109:2ec12f10ebf4
--- a/MbedAgent.cpp	Wed May 13 12:12:55 2015 +0000
+++ b/MbedAgent.cpp	Wed May 13 13:03:20 2015 +0000
@@ -5,10 +5,10 @@
 MbedAgent::MbedAgent(DeviceInfo& deviceInfo):
     _client(), tpl(), _bootstrap(_client, deviceInfo), 
     _integration(_client, tpl, deviceInfo), lcdThirdLineBlank(true),
-    signal(deviceInfo), temp(), poti(), gps(), acc(), conf(), sock(),
-    pool(), _operationSupport(tpl, pool, conf)
+    signal(deviceInfo), temp(), poti(), gps(), acc(), sock(),
+    pool(), _operationSupport(tpl, pool)
 {
-    reporters[0] = &conf;
+    reporters[0] = &ConfigSync::inst();
     reporters[1] = &temp;
     reporters[2] = &signal;
     reporters[3] = &gps;
@@ -98,7 +98,7 @@
 {
     ReportThread reportThread(pool);
     _operationSupport.executePendingOperations();
-//    PollThread pollThread(pool, conf);
+//    PollThread pollThread(pool);
 //    pollThread.setChannel(deviceID);
 
     Watchdog wdt;