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:
89:8ab476939897
Parent:
86:b49c4cfecc43
Child:
91:423177e8a401
--- a/measurement/AnalogMeasurement.cpp	Wed Mar 11 10:02:35 2015 +0000
+++ b/measurement/AnalogMeasurement.cpp	Mon Mar 16 10:16:48 2015 +0000
@@ -53,12 +53,14 @@
                 lastSensorReadingSent=false;
             }
             aDebug("Similar analog readings found, no sending!\r\n");
+//            printf("[N] %f, %f\r\n", data[0], data[1]);
             return true;
         } else {
             aDebug("Analog sensor timed out at %f s, a sending is forced.\r\n", sendingTimer.read());
         } 
     }
     
+//    printf("[Y] %f, %f (%f, %f)\r\n", data[0], data[1], oldValues[0], oldValues[1]);
     char status[25] = {0};
     snprintf(status, 25, "Sending Poti %.1f,%.1f", data[0], data[1]);
     _io.lcdPrint(_displayInfo.getFirstLine(), _displayInfo.getSecondLine(), status);