Rick McConney / MQTT-JMF

Dependencies:   FP

Dependents:   WNCProximityMqtt

Files at this revision

API Documentation at this revision

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
 {