minimal MQTT Library. This version simply doubled the MQTT QUEUE sizes
Dependents: WNCInterface_M2XMQTTdemo
Fork of minimal-mqtt by
Diff: minimal-mqtt.h
- Revision:
- 2:65f85aa601db
- Parent:
- 1:311cd16389ff
--- 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.