mqtt specific components for the impact mbed endpoint library
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp
Diff: MQTTTransport.cpp
- Revision:
- 21:54e3ad1c5c2e
- Parent:
- 20:ee03f10c074e
- Child:
- 29:ac6390032cec
--- a/MQTTTransport.cpp Tue Apr 01 20:06:30 2014 +0000 +++ b/MQTTTransport.cpp Tue Apr 01 22:15:44 2014 +0000 @@ -457,6 +457,7 @@ else { this->logger()->log("Attempting reconnection to MQTT in checkAndProcess..."); this->disconnect(); + Thread::wait(15000); this->connect(); } }