mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 19:56:30 +00:00
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)) {
|
if ((TClient.type) && (TClientSettings.features.func_json_append)) {
|
||||||
TasmotaClient_sendCmnd(CMND_GET_JSON, 0);
|
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);
|
uint8_t len = TasmotaClient_receiveData(buffer, sizeof(buffer) -1);
|
||||||
|
|
||||||
buffer[len] = '\0';
|
buffer[len] = '\0';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user