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.
Fork of MQTT by
Revision 48:205fe4c5a6d6, committed 2018-02-14
- Comitter:
- sheralikhan
- Date:
- Wed Feb 14 06:03:43 2018 +0000
- Parent:
- 47:d3feba7f242a
- Commit message:
- kjhgtfrew
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	Sat Oct 03 10:53:36 2015 +0000
+++ b/MQTTAsync.h	Wed Feb 14 06:03:43 2018 +0000
@@ -62,7 +62,7 @@
 		
 	limits()
 	{
-		MAX_MQTT_PACKET_SIZE = 100;
+		MAX_MQTT_PACKET_SIZE = 500;
 		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	Sat Oct 03 10:53:36 2015 +0000
+++ b/MQTTClient.h	Wed Feb 14 06:03:43 2018 +0000
@@ -88,7 +88,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 = 500, int MAX_MESSAGE_HANDLERS = 5>
 class Client
 {
 
    