An MQTT Client for the new etherNet Interface.

Dependencies:   EthernetInterface mbed-rtos

Dependents:   AV_MQTT niMQTT_example

Revision:
7:d01d8f0bac58
Parent:
6:661892e00fe1
Child:
8:438958bb9df3
diff -r 661892e00fe1 -r d01d8f0bac58 niMQTT.cpp
--- 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;