niMQTT

Dependencies:   EthernetInterface mbed-rtos

Fork of niMQTT by Guilhem Saurel

Revision:
8:438958bb9df3
Parent:
7:d01d8f0bac58
Child:
9:3be69efa4402
--- a/niMQTT.cpp	Tue Aug 13 12:44:36 2013 +0000
+++ b/niMQTT.cpp	Tue Aug 13 13:36:05 2013 +0000
@@ -199,7 +199,7 @@
 
     waiting_new_packet = true;
 
-    callback(topic, message);
+    call_callback(topic, message);
 }
 
 int niMQTT::puback() {
@@ -382,3 +382,7 @@
     } while (X > 0);
     return rll;
 }
+
+void niMQTT::call_callback(const char *topic, const char *message) {
+    callback(topic, message);
+}
\ No newline at end of file