From 96f6f69f13e048c97d24a263418826375c45eb8c Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 16 Apr 2023 14:39:29 +0200 Subject: [PATCH] Increase TasmotaClient receive buffer Increase TasmotaClient receive buffer from 100 to 250 (#18427) --- tasmota/tasmota_xdrv_driver/xdrv_31_tasmota_client.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_31_tasmota_client.ino b/tasmota/tasmota_xdrv_driver/xdrv_31_tasmota_client.ino index d15900189..e4d41988e 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_31_tasmota_client.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_31_tasmota_client.ino @@ -441,7 +441,7 @@ void TasmotaClient_Show(void) { if ((TClient.type) && (TClientSettings.features.func_json_append)) { TasmotaClient_sendCmnd(CMND_GET_JSON, 0); - char buffer[100]; + char buffer[250]; // Keep size below 255 to stay within 8-bits index and len uint8_t len = TasmotaClient_receiveData(buffer, sizeof(buffer) -1); buffer[len] = '\0';