niMQTT

Dependencies:   EthernetInterface mbed-rtos

Fork of niMQTT by Guilhem Saurel

Revision:
9:3be69efa4402
Parent:
8:438958bb9df3
--- a/niMQTT.h	Tue Aug 13 13:36:05 2013 +0000
+++ b/niMQTT.h	Mon Mar 03 14:53:08 2014 +0000
@@ -111,9 +111,12 @@
         int pingresp();
         int disconnect();
 
-        static void thread_starter(void const *p);
-        void thread_worker();
-        Thread thread;
+        static void ping_thread_starter(void const *p);
+        static void recv_thread_starter(void const *p);
+        void ping_thread_worker();
+        void recv_thread_worker();
+        Thread ping_thread;
+        Thread recv_thread;
 
         void publish_received();
         virtual void call_callback(const char *topic, const char *message);