mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-09 21:01:39 +00:00
SetBufferSize is split into Send and Receive.
This commit is contained in:
parent
b42bf9b0a7
commit
e0a39bf493
@ -116,8 +116,7 @@ build_src_filter = ${env.build_src_filter} -<platform/portduino/>
|
||||
; Common libs for communicating over TCP/IP networks such as MQTT
|
||||
[networking_base]
|
||||
lib_deps =
|
||||
|
||||
thingsboard/TBPubSubClient@^2.10.0
|
||||
thingsboard/TBPubSubClient@^2.10.0
|
||||
arduino-libraries/NTPClient@3.1.0
|
||||
arcao/Syslog@2.0.0
|
||||
|
||||
|
@ -427,7 +427,7 @@ void MQTT::reconnect()
|
||||
serverAddr = server.c_str();
|
||||
}
|
||||
pubSub.setServer(serverAddr, serverPort);
|
||||
pubSub.setBufferSize(512);
|
||||
pubSub.setBufferSize(512, 512);
|
||||
|
||||
LOG_INFO("Connect directly to MQTT server %s, port: %d, username: %s, password: %s", serverAddr, serverPort, mqttUsername,
|
||||
mqttPassword);
|
||||
@ -748,4 +748,4 @@ void MQTT::perhapsReportToMap()
|
||||
|
||||
// Update the last report time
|
||||
last_report_to_map = millis();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user