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:
125:979ab0d075de
Parent:
122:68217ccb8cd1
Child:
126:e1fcf720c63a
--- a/MbedAgent.cpp	Fri May 29 12:05:01 2015 +0000
+++ b/MbedAgent.cpp	Mon Jun 01 11:24:17 2015 +0000
@@ -103,7 +103,7 @@
     while (true) {
         int l = 0;
         for (size_t i = 0; i < N; ++i) {
-//            if (reporters[i] == &ConfigSync::inst()) {
+            if (reporters[i] == &ConfigSync::inst()) {
             int l2 = reporters[i]->read(buf2+l, sizeof(buf2)-l, status, DISPLAY_LEN);
             if (l2) { // Refresh LCD display needed
                 LCDDisplay::inst().setThirdLine(status);
@@ -114,7 +114,7 @@
             }
             lcdThirdLineBlank = !l2;
             l += l2;
-//            }
+            }
         }
         if (l) {
             l = snprintf(buf, sizeof(buf), fmtSmartRest, "/s", l, buf2);