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:
72:c5709ae7b193
Parent:
71:063c45e99578
Child:
73:313975bfec96
--- a/main.cpp	Mon Feb 16 09:17:30 2015 +0000
+++ b/main.cpp	Mon Feb 16 13:15:52 2015 +0000
@@ -1,3 +1,5 @@
+#include <stdio.h>
+
 #include "mbed.h"
 #include "rtos.h"
 #include "MDM.h"
@@ -6,10 +8,8 @@
 #include "DeviceMemory.h"
 #include "MbedAgent.h"
 #include "GPSTracker.h"
-
 #include "DeviceConfiguration.h"
-
-#include <stdio.h>
+#include "logging.h"
 
 /**
  * SIM PIN. Null for no pin.
@@ -25,6 +25,7 @@
 
 int main()
 {
+    setLevel(A_DEBUG);
     MDMParser::DevStatus devStatus;
     int res;
     uint8_t status = 0;