An API for using MQTT over multiple transports

Dependencies:   FP MQTTPacket

Dependents:   Water_Monitor_clone_v1 Cloud_IBM_MbedOS ble-star-mbed

Fork of MQTT by MQTT

Files at this revision

API Documentation at this revision

Comitter:
mapellil
Date:
Wed Jan 24 09:25:58 2018 +0100
Parent:
60:0534b5d3c941
Commit message:
Fixed cycle() return value

Changed in this revision

MQTTClient.h Show annotated file Show diff for this revision Revisions of this file
diff -r 0534b5d3c941 -r 688f195846f1 MQTTClient.h
--- a/MQTTClient.h	Tue Nov 14 13:43:19 2017 +0000
+++ b/MQTTClient.h	Wed Jan 24 09:25:58 2018 +0100
@@ -668,7 +668,7 @@
         rc = FAILURE;
 
 exit:
-    if (rc == SUCCESS)
+    if (rc == MQTT::SUCCESS)
         rc = packet_type;
     else if (isconnected)
         closeSession();