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:
106:c61f0d62b625
Parent:
101:dbcd3bc51758
Child:
108:f1ee3e1eb126
--- a/operation/PollThread.h	Fri May 08 14:50:43 2015 +0000
+++ b/operation/PollThread.h	Mon May 11 18:10:44 2015 +0000
@@ -13,7 +13,6 @@
                 sock(), parser(pool, configSync),
                 thread(PollThread::threadWrapper, this) {
                 strncpy(uri, "/devicecontrol/notifications", sizeof(uri));
-                sock.set_blocking(true);
         }
         virtual ~PollThread() {}
         bool handshake();
@@ -27,7 +26,7 @@
         char uri[30];
         char bayeuxId[50];
         char buf[SMARTREST_SIZE];
-        char buf2[SMARRESTBODY_SIZE];
+        char buf2[SMARTREST_BODY_SIZE];
         SmartRestSocket sock;
         ControlParser parser;
         Thread thread;