An API for using MQTT over multiple transports
Dependents: EthW5500 EthW5500 wmx_laser wmx_laser_copy ... more
Fork of MQTT by
Revision 47:617ec2667da3, committed 2017-08-25
- Comitter:
- zhangyx
- Date:
- Fri Aug 25 15:08:01 2017 +0000
- Parent:
- 46:e335fcc1a663
- Child:
- 48:6de46e8293d9
- Commit message:
- fix compilation
Changed in this revision
--- a/MQTTClient.h Tue Aug 18 09:57:19 2015 +0000 +++ b/MQTTClient.h Fri Aug 25 15:08:01 2017 +0000 @@ -276,8 +276,8 @@ template<class Network, class Timer, int a, int MAX_MESSAGE_HANDLERS> MQTT::Client<Network, Timer, a, MAX_MESSAGE_HANDLERS>::Client(Network& network, unsigned int command_timeout_ms) : ipstack(network), packetid() { - last_sent = Timer(); - last_received = Timer(); +// last_sent = Timer(); +// last_received = Timer(); this->command_timeout_ms = command_timeout_ms; cleanSession(); }
--- a/MQTTPacket.lib Tue Aug 18 09:57:19 2015 +0000 +++ b/MQTTPacket.lib Fri Aug 25 15:08:01 2017 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/mqtt/code/MQTTPacket/#62396c1620b6 +http://mbed.org/teams/mqtt/code/MQTTPacket/#a487a702b185
--- a/MQTTmbed.h Tue Aug 18 09:57:19 2015 +0000 +++ b/MQTTmbed.h Fri Aug 25 15:08:01 2017 +0000 @@ -8,12 +8,11 @@ public: Countdown() { - t = Timer(); + } Countdown(int ms) { - t = Timer(); countdown_ms(ms); }