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:
81:4a7761914901
Parent:
78:bf32dfe6c47f
Child:
82:ca7430f50b2b
--- a/MbedAgent.cpp	Wed Mar 04 11:14:30 2015 +0000
+++ b/MbedAgent.cpp	Wed Mar 04 14:02:39 2015 +0000
@@ -98,8 +98,8 @@
     wdt.kick(60.0);    // set a 60.0 seconds timeout on watchdog hardware timer
     while (true) {
         if (joystickDown) {
-            setLevel(A_INFO);
-            _mdm.setDebug(1);
+            setLevel(A_NONE);
+            _mdm.setDebug(-1);
             printf("***Disabled debug mode.***\r\n");
         } else if (joystickUp) {
             setLevel(A_DEBUG);
@@ -107,15 +107,10 @@
             printf("***Enabled debug mode.***\r\n");
         }
         _configurationSynchronization.run();
-//        _operationSupport.run();
         _signalQualityMeasurement.run();
-//        _operationSupport.run();
         _temperatureMeasurement.run();
-//        _operationSupport.run();
         _analogMeasurement.run();
-//        _operationSupport.run();
         _accelerationMeasurement.run();
-//        _operationSupport.run();
         _locationUpdate.run();
         _operationSupport.run();