mirror of https://github.com/arendst/Tasmota.git
Updated minimum MQTT_MAX_PACKET_SIZE to 512
This commit is contained in:
parent
fc3b7e22ab
commit
4a989fb8c6
|
@ -24,7 +24,7 @@
|
|||
// MQTT_MAX_PACKET_SIZE : Maximum packet size
|
||||
#ifndef MQTT_MAX_PACKET_SIZE
|
||||
//#define MQTT_MAX_PACKET_SIZE 128
|
||||
#define MQTT_MAX_PACKET_SIZE 400
|
||||
#define MQTT_MAX_PACKET_SIZE 512
|
||||
#endif
|
||||
|
||||
// MQTT_KEEPALIVE : keepAlive interval in Seconds
|
||||
|
|
|
@ -17,6 +17,6 @@ framework = arduino
|
|||
board = esp01_1m
|
||||
; ESP8285 - Sonoff Touch and Sonoff 4CH
|
||||
; board = esp8285
|
||||
build_flags = -Wl,-Tesp8266.flash.1m64.ld -DMQTT_MAX_PACKET_SIZE=400
|
||||
build_flags = -Wl,-Tesp8266.flash.1m64.ld -DMQTT_MAX_PACKET_SIZE=512
|
||||
|
||||
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
||||
|
|
Loading…
Reference in New Issue