From dd5c819c4dba4850be68be44d27fa8fe23d3eabd Mon Sep 17 00:00:00 2001 From: anushavenkatesh1 <43500968+anushavenkatesh1@users.noreply.github.com> Date: Thu, 1 Feb 2024 10:13:33 +0530 Subject: [PATCH] Update PubSubClient.h Increased the buffer size of MQTT_MAX_PACKET_SIZE from 256 to 500 --- src/PubSubClient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PubSubClient.h b/src/PubSubClient.h index c70d9fd3..e660a49d 100755 --- a/src/PubSubClient.h +++ b/src/PubSubClient.h @@ -23,7 +23,7 @@ // MQTT_MAX_PACKET_SIZE : Maximum packet size. Override with setBufferSize(). #ifndef MQTT_MAX_PACKET_SIZE -#define MQTT_MAX_PACKET_SIZE 256 +#define MQTT_MAX_PACKET_SIZE 500 #endif // MQTT_KEEPALIVE : keepAlive interval in Seconds. Override with setKeepAlive()