Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FP MQTTPacket
Dependents: IDW01M1_Cloud_IBM IDW01M1-MQTT IDW01M1-MQTT-1 IDW01M1-MQTT3 ... more
Fork of MQTT by
Diff: MQTTClient.h
- Revision:
- 49:c66fdbb9eb83
- Parent:
- 46:e335fcc1a663
--- a/MQTTClient.h Wed Sep 28 15:34:12 2016 +0000
+++ b/MQTTClient.h Mon Oct 30 13:50:53 2017 +0100
@@ -276,8 +276,6 @@
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();
this->command_timeout_ms = command_timeout_ms;
cleanSession();
}
