mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
добавил отправку прием сетевых событий
This commit is contained in:
@@ -51,9 +51,7 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
|
||||
//**отправка**//
|
||||
if (headerStr == "/|") {
|
||||
sendFileToWs("/layout.json", num, 1024);
|
||||
String json = "{}";
|
||||
jsonMergeObjects(json, paramsHeapJson);
|
||||
jsonMergeObjects(json, paramsFlashJson);
|
||||
String json = getParamsJson();
|
||||
standWebSocket.sendTXT(num, json);
|
||||
}
|
||||
// page configutation================================================================
|
||||
|
||||
Reference in New Issue
Block a user