добавление пинг

This commit is contained in:
Dmitry Borisenko
2022-10-13 20:55:01 +02:00
parent 85bf00ac01
commit 051550ad47
3 changed files with 4 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -220,6 +220,10 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
SerialPrint("i", F("=>WS"), "Msg from svelte web, WS No: " + String(num) + ", msg: " + msg);
}
if (headerStr == "/tst|") {
standWebSocket.sendTXT(num, "/tstr|");
}
} break;
case WStype_BIN: {