Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: operation/PollThread.cpp
- Revision:
- 124:311fa85af2b3
- Parent:
- 123:3e4a1ed4bad5
- Child:
- 125:979ab0d075de
--- a/operation/PollThread.cpp Wed May 27 09:22:24 2015 +0000
+++ b/operation/PollThread.cpp Fri May 29 12:05:01 2015 +0000
@@ -36,7 +36,7 @@
{
int l = snprintf(buf2, sizeof(buf2), "83,%s\r\n", bayeuxId);
l = snprintf(buf, sizeof(buf), fmtSmartRest, uri, l, buf2);
- sock.setBlocking(300000); // Timeout after an hour
+ sock.setBlocking(300000); // Timeout after 5 minutes
l = sock.sendAndReceive(buf, l, sizeof(buf));
return l>0;
}

Cumulocity