mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
добавление пинг
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user