Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: WNCInterface_M2XMQTTdemo
Fork of minimal-mqtt by
Revision 2:65f85aa601db, committed 2016-10-08
- 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.