-
Dependencies: EthernetInterfaceWithHostname HygroClip2-LPC mbed-rtos mbed
Fork of TCPSocket_HelloWorld by
Revision 21:b3676a4fcf2b, committed 2016-05-11
- Comitter:
- wolfsberger
- Date:
- Wed May 11 09:25:37 2016 +0000
- Parent:
- 20:526d6c8c2c8d
- Commit message:
- Fixed the pipeline rupture
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 526d6c8c2c8d -r b3676a4fcf2b main.cpp --- a/main.cpp Wed May 11 09:23:19 2016 +0000 +++ b/main.cpp Wed May 11 09:25:37 2016 +0000 @@ -36,6 +36,7 @@ int lenght = snprintf(transmissionBuffer, bufferLenght, "GET /relay?temperature=%.2f&humidity=%.2f&dewpoint=%.2f&id=1 HTTP/1.0\n\n", data->temperature, data->humidity,data->dewpoint); printf(transmissionBuffer); sock.send_all(transmissionBuffer, lenght); + wait(0.2f); // To avoid a pipeline rupture } else {