Skip to content

Commit

Permalink
Buffer set to 2048 to accomodate larger MQTT auto discovery messages
Browse files Browse the repository at this point in the history
  • Loading branch information
fredlcore committed Nov 16, 2024
1 parent 2e3e7aa commit 3fee003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BSB_LAN/include/mqtt_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ bool mqtt_connect() {
if(MQTTPubSubClient == NULL) {
mqtt_client= new ComClient();
MQTTPubSubClient = new PubSubClient(mqtt_client[0]);
MQTTPubSubClient->setBufferSize(1024);
MQTTPubSubClient->setBufferSize(2048);
mqtt_reconnect_timer = 0;
first_connect = true;
}
Expand Down

0 comments on commit 3fee003

Please sign in to comment.