attendance system MQTT lib

Dependencies:   FP MQTTPacket

Fork of MQTT by James Bruce

Files at this revision

API Documentation at this revision

Comitter:
sheralikhan
Date:
Tue Jul 17 12:44:44 2018 +0000
Parent:
47:d3feba7f242a
Commit message:
nothing modified

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
diff -r d3feba7f242a -r 25df8f8d616a MQTTAsync.h
--- a/MQTTAsync.h	Sat Oct 03 10:53:36 2015 +0000
+++ b/MQTTAsync.h	Tue Jul 17 12:44:44 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;
diff -r d3feba7f242a -r 25df8f8d616a MQTTClient.h
--- a/MQTTClient.h	Sat Oct 03 10:53:36 2015 +0000
+++ b/MQTTClient.h	Tue Jul 17 12:44:44 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
 {