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:
22:786a74c2d89b
Child:
25:413b95a07625
--- a/mqtt_codec.c	Wed Jan 17 08:57:29 2018 -0800
+++ b/mqtt_codec.c	Thu Feb 15 11:36:32 2018 -0800
@@ -44,8 +44,8 @@
     CODEC_STATE_VAR_HEADER,     \
     CODEC_STATE_PAYLOAD
 
-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(CODEC_STATE_RESULT, CODEC_STATE_VALUES);