From 7476f985903c80c8999921b19c25f0f661531cdb Mon Sep 17 00:00:00 2001 From: Sietse Jonker Date: Tue, 5 Mar 2024 13:48:54 +0100 Subject: [PATCH] Commented out debug print statements in webSocketEvent function --- arduino/node-code/node-code-final/node-code-final.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arduino/node-code/node-code-final/node-code-final.ino b/arduino/node-code/node-code-final/node-code-final.ino index c08b0b6..5ac6157 100644 --- a/arduino/node-code/node-code-final/node-code-final.ino +++ b/arduino/node-code/node-code-final/node-code-final.ino @@ -69,13 +69,13 @@ void webSocketEvent(WStype_t type, uint8_t * payload, size_t length) { webSocket.sendTXT("Connected"); break; case WStype_TEXT: - USE_SERIAL.printf("[WSc] get text: %s\n", payload); + // USE_SERIAL.printf("[WSc] get text: %s\n", payload); // send message to server // webSocket.sendTXT("message here"); break; case WStype_BIN: - USE_SERIAL.printf("[WSc] get binary length: %u\n", length); + // USE_SERIAL.printf("[WSc] get binary length: %u\n", length); hexdump(payload, length); // send data to server