Fix HTTP status 0 message when using USE_MQTT_TLS

Fix ``status 0`` message when using define USE_MQTT_TLS due to small log buffer (#9305)
This commit is contained in:
Theo Arends 2020-09-22 11:27:45 +02:00
parent a39e393a18
commit 1c99b4d1ee
2 changed files with 6 additions and 5 deletions

View File

@ -7,13 +7,14 @@
- Fix energy total counters (#9263, #9266)
- Fix crash in ``ZbRestore``
- Fix reset BMP sensors when executing command ``SaveData`` and define USE_DEEPSLEEP enabled (#9300)
- Fix ``status 0`` message when using define USE_MQTT_TLS due to small log buffer (#9305)
- Change replace ArduinoJson with JSMN for JSON parsing
- Add command ``SetOption110 1`` to disable Zigbee auto-config when pairing new devices
- Add command ``SetOption111 1`` to enable frequency output for buzzer GPIO (#8994)
- Add ``#define USE_MQTT_AWS_IOT_LIGHT`` for password based AWS IoT authentication
- Add new shutter modes (#9244)
- Add Zigbee auto-config when pairing
- Add support for MLX90640 IR array temperature sensor by Christian Baars
- Change replace ArduinoJson with JSMN for JSON parsing
### 8.5.0 20200907

View File

@ -122,11 +122,11 @@ String EthernetMacAddress(void);
#define WS2812_LEDS 30 // [Pixels] Number of LEDs
#endif
#ifdef USE_MQTT_TLS
const uint16_t WEB_LOG_SIZE = 2000; // Max number of characters in weblog
#else
//#ifdef USE_MQTT_TLS // Set to 4000 on 20200922 per #9305
// const uint16_t WEB_LOG_SIZE = 2000; // Max number of characters in weblog
//#else
const uint16_t WEB_LOG_SIZE = 4000; // Max number of characters in weblog
#endif
//#endif
#if defined(ARDUINO_ESP8266_RELEASE_2_3_0) || defined(ARDUINO_ESP8266_RELEASE_2_4_0) || defined(ARDUINO_ESP8266_RELEASE_2_4_1) || defined(ARDUINO_ESP8266_RELEASE_2_4_2) || defined(ARDUINO_ESP8266_RELEASE_2_5_0) || defined(ARDUINO_ESP8266_RELEASE_2_5_1) || defined(ARDUINO_ESP8266_RELEASE_2_5_2)
#error "Arduino ESP8266 Core versions before 2.7.1 are not supported"