начал писать обновление параметров

This commit is contained in:
Dmitry Borisenko
2022-02-08 00:20:49 +01:00
parent 9b5a87bbcf
commit a423b81b07
5 changed files with 16 additions and 9 deletions

View File

@@ -32,6 +32,7 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
// dashboard===================================================================
if (headerStr == "/") {
sendFileToWs("/layout.json", num, 1024);
standWebSocket.sendTXT(num, paramsHeapJson);
}
if (headerStr == "/tuoyal") {
writeFileUint8tByFrames("layout.json", payload, length, headerLenth, 256);