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: EthernetInterface mbed-rtos
Fork of niMQTT by
Revision 9:8e43b5519a4a, committed 2013-10-22
- Comitter:
- tobyjaffey
- Date:
- Tue Oct 22 20:37:27 2013 +0000
- Parent:
- 8:438958bb9df3
- Commit message:
- Removed wait for keepalive, was stalling operation
Changed in this revision
niMQTT.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/niMQTT.cpp Tue Aug 13 13:36:05 2013 +0000 +++ b/niMQTT.cpp Tue Oct 22 20:37:27 2013 +0000 @@ -342,8 +342,8 @@ while (connected) { if (debug) printf("New loop in thread worker\r\n"); recv(); - Thread::wait(KEEP_ALIVE*100); // KEEP_ALIVE / 10 in seconds - if (!packet_sent) pingreq(); +// Thread::wait(KEEP_ALIVE*100); // KEEP_ALIVE / 10 in seconds +// if (!packet_sent) pingreq(); packet_sent = false; } }