mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-03 03:09:59 +00:00
Increase MQTT buffer size
This commit is contained in:
parent
8ebe0edc5a
commit
19436b7d54
@ -165,6 +165,7 @@ void MQTT::reconnect()
|
|||||||
serverAddr = server.c_str();
|
serverAddr = server.c_str();
|
||||||
}
|
}
|
||||||
pubSub.setServer(serverAddr, serverPort);
|
pubSub.setServer(serverAddr, serverPort);
|
||||||
|
pubSub.setBufferSize(512);
|
||||||
|
|
||||||
DEBUG_MSG("Connecting to MQTT server %s, port: %d, username: %s, password: %s\n", serverAddr, serverPort, mqttUsername, mqttPassword);
|
DEBUG_MSG("Connecting to MQTT server %s, port: %d, username: %s, password: %s\n", serverAddr, serverPort, mqttUsername, mqttPassword);
|
||||||
auto myStatus = (statusTopic + owner.id);
|
auto myStatus = (statusTopic + owner.id);
|
||||||
|
Loading…
Reference in New Issue
Block a user