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.
Revision 48:326380990a95, committed 2016-09-27
- Comitter:
- elmkom
- Date:
- Tue Sep 27 15:47:27 2016 +0000
- Parent:
- 47:21d6fba046df
- Commit message:
- Add proximity sensor; increase mqtt buffer size to 512
Changed in this revision
| MQTTAsync.h | Show annotated file Show diff for this revision Revisions of this file |
| MQTTClient.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MQTTAsync.h Wed Sep 14 16:35:32 2016 +0000
+++ b/MQTTAsync.h Tue Sep 27 15:47:27 2016 +0000
@@ -62,7 +62,7 @@
limits()
{
- MAX_MQTT_PACKET_SIZE = 100;
+ MAX_MQTT_PACKET_SIZE = 512;
MAX_MESSAGE_HANDLERS = 5;
MAX_CONCURRENT_OPERATIONS = 1; // 1 indicates single-threaded mode - set to >1 for multithreaded mode
command_timeout_ms = 30000;
--- a/MQTTClient.h Wed Sep 14 16:35:32 2016 +0000
+++ b/MQTTClient.h Tue Sep 27 15:47:27 2016 +0000
@@ -92,7 +92,7 @@
* @param Network a network class which supports send, receive
* @param Timer a timer class with the methods:
*/
-template<class Network, class Timer, int MAX_MQTT_PACKET_SIZE = 100, int MAX_MESSAGE_HANDLERS = 5>
+template<class Network, class Timer, int MAX_MQTT_PACKET_SIZE = 512, int MAX_MESSAGE_HANDLERS = 5>
class Client
{