Biswajit Padhi / MQTT

Dependencies:   FP MQTTPacket

Fork of MQTT by James Bruce

Files at this revision

API Documentation at this revision

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
 {