biologist79
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Web.cpp
|
@ -539,7 +539,7 @@ void onWebsocketEvent(AsyncWebSocket *server, AsyncWebSocketClient *client, AwsE |
|
|
//client connected
|
|
|
//client connected
|
|
|
Serial.printf("ws[%s][%u] connect\n", server->url(), client->id()); |
|
|
Serial.printf("ws[%s][%u] connect\n", server->url(), client->id()); |
|
|
//client->printf("Hello Client %u :)", client->id());
|
|
|
//client->printf("Hello Client %u :)", client->id());
|
|
|
client->ping(); |
|
|
|
|
|
|
|
|
//client->ping();
|
|
|
} else if (type == WS_EVT_DISCONNECT) { |
|
|
} else if (type == WS_EVT_DISCONNECT) { |
|
|
//client disconnected
|
|
|
//client disconnected
|
|
|
Serial.printf("ws[%s][%u] disconnect\n", server->url(), client->id()); |
|
|
Serial.printf("ws[%s][%u] disconnect\n", server->url(), client->id()); |
|
|