From 059b693889e153dd0dfdd00e5645b7c91648ac7d Mon Sep 17 00:00:00 2001 From: Marcel Peterkau Date: Tue, 30 Jan 2024 22:05:50 +0100 Subject: [PATCH] some small changes --- Software/data_src/index.htm | 4 ++-- Software/data_src/static/js/websocket.js | 2 ++ Software/src/webui.cpp | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Software/data_src/index.htm b/Software/data_src/index.htm index 41a9252..57f43b9 100644 --- a/Software/data_src/index.htm +++ b/Software/data_src/index.htm @@ -441,7 +441,7 @@
- +
@@ -454,7 +454,7 @@
diff --git a/Software/data_src/static/js/websocket.js b/Software/data_src/static/js/websocket.js index 6c69439..fa3b7a6 100644 --- a/Software/data_src/static/js/websocket.js +++ b/Software/data_src/static/js/websocket.js @@ -91,6 +91,7 @@ function onMessage(event) { } else if (data.startsWith("MAPPING_STATIC:")) { const data_sliced = data.slice(15); staticMapping = createMapping(data_sliced); + console.log(staticMapping); } else if (data.startsWith("STATUS:")) { const data_sliced = data.slice(7); const result = processDataString(data_sliced, statusMapping); @@ -99,6 +100,7 @@ function onMessage(event) { const data_sliced = data.slice(7); const result = processDataString(data_sliced, staticMapping); fillValuesToHTML(result); + console.log(result); overlay.style.display = "none"; } } diff --git a/Software/src/webui.cpp b/Software/src/webui.cpp index aabb718..7705345 100644 --- a/Software/src/webui.cpp +++ b/Software/src/webui.cpp @@ -718,7 +718,7 @@ void Websocket_RefreshClientData_Static(uint32_t client_id, bool send_mapping) "showcan;" "bleedingpulses;" "wifi-ssid;" - "wifi-password;"; + "wifi-pass;"; if (client_id > 0) webSocket.text(client_id, mapping);