Version of niMQTT library which includes separate process for pings and ability to publish retained messages.

Dependencies:   EthernetInterface mbed-rtos mbed

Fork of niMQTT by Juan Carlos Jimenez

Revision:
10:28cfb74b0584
Parent:
9:3be69efa4402
Child:
11:d508e0b7ed4d
--- a/niMQTT.h	Mon Mar 03 14:53:08 2014 +0000
+++ b/niMQTT.h	Thu Jul 03 17:16:14 2014 +0000
@@ -72,7 +72,7 @@
          * \param topic the topic
          * \param message the message
          */
-        int pub(char *topic, char *message);
+        int pub(char *topic, char *message, bool retain);
 
         /** Subscribe to a topic
          * \param topic the topic