A small footprint MQTT library

Dependents:   STM32F746_iothub_client_sample_mqtt FXOS8700CQ_To_Azure_IoT f767zi_mqtt FXOS8700CQ_To_Azure_IoT ... more

Revision:
24:75f5b91d1c6e
Parent:
23:80794cfb3565
Child:
27:a2eb9cb1e731
--- a/mqtt_client.c	Wed Jan 17 08:57:29 2018 -0800
+++ b/mqtt_client.c	Thu Feb 15 11:36:32 2018 -0800
@@ -26,8 +26,8 @@
 #define DEFAULT_MAX_PING_RESPONSE_TIME  80  // % of time to send pings
 #define MAX_CLOSE_RETRIES               2
 
-static const char* TRUE_CONST = "true";
-static const char* FALSE_CONST = "false";
+static const char* const TRUE_CONST = "true";
+static const char* const FALSE_CONST = "false";
 
 DEFINE_ENUM_STRINGS(QOS_VALUE, QOS_VALUE_VALUES);