mirror of https://github.com/arendst/Tasmota.git
Increase TasmotaClient receive buffer
Increase TasmotaClient receive buffer from 100 to 250 (#18427)
This commit is contained in:
parent
e158b181d6
commit
96f6f69f13
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue