Skip to content

Commit 1dad225

Browse files
authored
Merge pull request #3 from cmmakerclub/master
Workaround: set default MQTT_MAX_PACKET_SIZE to 1024 for sending large pay…
2 parents 0b92728 + a4bcd4f commit 1dad225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PubSubClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#define MQTT_VERSION MQTT_VERSION_3_1_1
2222

2323
// MQTT_MAX_PACKET_SIZE : Maximum packet size
24-
#define MQTT_MAX_PACKET_SIZE 128
24+
#define MQTT_MAX_PACKET_SIZE 1024
2525

2626
// MQTT_KEEPALIVE : keepAlive interval in Seconds
2727
#define MQTT_KEEPALIVE 15

0 commit comments

Comments
 (0)