Increase TasmotaClient receive buffer

Increase TasmotaClient receive buffer from 100 to 250 (#18427)
This commit is contained in:
Theo Arends 2023-04-16 14:39:29 +02:00
parent e158b181d6
commit 96f6f69f13
1 changed files with 1 additions and 1 deletions

View File

@ -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';