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:
80:757c3ff7b92b
Child:
83:d83a90423054
Child:
88:b1de34154513
--- a/main.cpp	Wed Mar 04 11:14:30 2015 +0000
+++ b/main.cpp	Wed Mar 04 14:02:39 2015 +0000
@@ -47,8 +47,8 @@
         mdm.setDebug(3);
         printf("Enable debug mode.\r\n");
     } else {
-        setLevel(A_INFO);
-        mdm.setDebug(1);
+        setLevel(A_NONE);
+        mdm.setDebug(-1);
     }        
     
     io.lcdPrint("Device Init");
@@ -108,7 +108,6 @@
             io.lcdPrint("Agent Init Failure", "Debug via serial port");
             goto error;
         }
-        
         uint8_t tries = 3;
         do {
             io.lcdPrint("Agent Run");