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:
- to be independent of any system library: hence templates parameters for networking, timer and threading classes
- not to rely on heap storage, only automatic (I think this is a good thing)
- to limit memory use, for instance by defining the size of the buffers and arrays used at object creation time
Revision 51:5042d7e56f7e, committed 2017-09-25
- Comitter:
- icraggs
- Date:
- Mon Sep 25 11:00:18 2017 +0000
- Parent:
- 45:37f007d2a8ae
- Child:
- 52:3f9919941b86
- Commit message:
- Change Timer initialization in Countdown class to avoid copy constructor
Changed in this revision
MQTTmbed.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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); }