An API for using MQTT over multiple transports

Dependencies:   FP MQTTPacket

Dependents:   Cellular_HelloMQTT IoTStarterKit GSwifiInterface_HelloMQTT IBMIoTClientEthernetExample ... more

This library is part of the EclipseTM Paho project; specifically the embedded client.

The goals of this API are:

  1. to be independent of any system library: hence templates parameters for networking, timer and threading classes
  2. not to rely on heap storage, only automatic (I think this is a good thing)
  3. to limit memory use, for instance by defining the size of the buffers and arrays used at object creation time
Revision:
51:5042d7e56f7e
Parent:
43:21da1f744243
Child:
52:3f9919941b86
--- a/MQTTmbed.h	Mon Aug 03 12:40:57 2015 +0000
+++ b/MQTTmbed.h	Mon Sep 25 11:00:18 2017 +0000
@@ -6,14 +6,13 @@
 class Countdown
 {
 public:
-    Countdown()
+    Countdown() : t()
     {
-        t = Timer();   
+  
     }
     
-    Countdown(int ms)
+    Countdown(int ms) : t()
     {
-        t = Timer();
         countdown_ms(ms);   
     }