Own fork of MbedSmartRestMain

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

Revision:
121:68217ccb8cd1
Parent:
120:d4d44550e087
Child:
124:979ab0d075de
--- a/MbedAgent.cpp	Wed May 20 13:17:19 2015 +0000
+++ b/MbedAgent.cpp	Wed May 20 14:30:26 2015 +0000
@@ -118,6 +118,7 @@
         }
         if (l) {
             l = snprintf(buf, sizeof(buf), fmtSmartRest, "/s", l, buf2);
+            sock.setBlocking(3000);
             l = sock.sendOnly(buf, l);
             if (l < 0)
                 aWarning("%s\n", status);