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

Files at this revision

API Documentation at this revision

Comitter:
Ian Craggs
Date:
Fri Apr 11 22:46:37 2014 +0100
Parent:
12:cc7f2d62a393
Parent:
11:db15da110a37
Child:
15:64a57183aa03
Commit message:
Merged changes

Changed in this revision

MQTTClient.cpp Show annotated file Show diff for this revision Revisions of this file
MQTTClient.h Show annotated file Show diff for this revision Revisions of this file
--- a/MQTTClient.h	Fri Apr 11 22:31:55 2014 +0100
+++ b/MQTTClient.h	Fri Apr 11 22:46:37 2014 +0100
@@ -128,7 +128,7 @@
 template<class Network, class Timer, class Thread> void MQTT::Client<Network, Timer, Thread>::threadfn(void* arg)
 {
     ((Client<Network, Timer, Thread>*) arg)->run(NULL);
-}
+}
 
 
 template<class Network, class Timer, class Thread> MQTT::Client<Network, Timer, Thread>::Client(Network* network, const int MAX_MQTT_PACKET_SIZE, const int command_timeout)  : packetid()