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: FP MQTTPacket
Dependents: IDW01M1_Cloud_IBM IDW01M1-MQTT IDW01M1-MQTT-1 IDW01M1-MQTT3 ... more
Fork of MQTT by
Revision 48:66826ea709ea, committed 2016-09-28
- Comitter:
- mapellil
- Date:
- Wed Sep 28 15:34:12 2016 +0000
- Parent:
- 47:24f2bf2819a5
- Child:
- 49:c66fdbb9eb83
- Commit message:
- Code cleanup
Changed in this revision
| MQTTSocket.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MQTTSocket.h Wed Sep 28 13:11:35 2016 +0000
+++ b/MQTTSocket.h Wed Sep 28 15:34:12 2016 +0000
@@ -29,8 +29,7 @@
// int start = t.read_ms();
int rc = mysock.recv((char*)buffer, len);
// int stop = t.read_ms();
- if (rc>0)
-// printf ("recv File: %s, Line: %d Read nB: %d rc: %d timeout: %d elaps: %d\n\r",__FILE__,__LINE__, len, rc, timeout, stop-start);
+// if (rc>0) printf ("recv File: %s, Line: %d Read nB: %d rc: %d timeout: %d elaps: %d\n\r",__FILE__,__LINE__, len, rc, timeout, stop-start);
return rc;
}
