mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
Force MQTT_MAX_PACKET_SIZE
in PubSub client
This commit is contained in:
parent
3916709d5f
commit
f2d8563597
@ -188,6 +188,9 @@ void MqttDisableLogging(bool state) {
|
||||
PubSubClient MqttClient;
|
||||
|
||||
void MqttInit(void) {
|
||||
// Force buffer size since the #define may not be visible from Arduino lib
|
||||
MqttClient.setBufferSize(MQTT_MAX_PACKET_SIZE);
|
||||
|
||||
#ifdef USE_MQTT_AZURE_IOT
|
||||
Settings->mqtt_port = 8883;
|
||||
#endif //USE_MQTT_AZURE_IOT
|
||||
|
Loading…
x
Reference in New Issue
Block a user