Removed blocking keepalive code
Dependencies: EthernetInterface mbed-rtos
Fork of niMQTT by
Diff: niMQTT.cpp
- Revision:
- 7:d01d8f0bac58
- Parent:
- 6:661892e00fe1
- Child:
- 8:438958bb9df3
--- a/niMQTT.cpp Tue Aug 13 12:26:57 2013 +0000 +++ b/niMQTT.cpp Tue Aug 13 12:44:36 2013 +0000 @@ -45,7 +45,7 @@ if (timeout >= TIMEOUT/100) { printf("RECV TIMEOUT\r\n"); if (waiting_connack > 0) printf("CONNACK not received !\r\n"); - if (waiting_suback > 0) printf("SUBCONNACK not received !\r\n"); + if (waiting_suback > 0) printf("SUBACK not received !\r\n"); if (waiting_pingresp > 0) printf("PINGRESP not received !\r\n"); reconnect(); return -1;