Jim Flynn / minimal-mqtt-JMF

Dependents:   WNCInterface_M2XMQTTdemo

Fork of minimal-mqtt by Xuejie Xiao

Files at this revision

API Documentation at this revision

Comitter:
JMF
Date:
Sat Oct 08 00:46:33 2016 +0000
Parent:
1:311cd16389ff
Commit message:
doubled MMQTRT_STREAM_MAX_LENGTH and MMQTT_QUEUE_MAX_LENGTH to account for longer MQTT sizes.

Changed in this revision

minimal-mqtt.h Show annotated file Show diff for this revision Revisions of this file
--- a/minimal-mqtt.h	Mon Jun 27 16:25:40 2016 +0000
+++ b/minimal-mqtt.h	Sat Oct 08 00:46:33 2016 +0000
@@ -6,8 +6,8 @@
 #define min(a, b) ((a) > (b) ? (b) : (a))
 #endif  /* min */
 
-#define MMQTT_STREAM_MAX_LENGTH 8
-#define MMQTT_QUEUE_MAX_LENGTH 2
+#define MMQTT_STREAM_MAX_LENGTH 16
+#define MMQTT_QUEUE_MAX_LENGTH 4
 
 /* mmqtt_ssize_t must be able to hold MMQTT_STREAM_MAX_LENGTH as well as
  * MMQTT_QUEUE_MAX_LENGTH, we might add macro-based detection in the future.