From 6c40ba4e1fef006cc1fc49ff72dc35644ad3f1ef Mon Sep 17 00:00:00 2001 From: Youen Date: Sat, 25 May 2024 23:11:18 +0200 Subject: [PATCH] Using HTTPS protocol for ESP32 web server, and implemented POST /api/info handler --- ESP32/.cproject | 5 +- ESP32/src/Info.h | 9 ++++ ESP32/src/Status.h | 2 +- ESP32/src/WebServer.cpp | 88 +++++++++++++++++++++++++++++++++-- ESP32/src/WebServer.h | 7 +++ ESP32/src/utils.cpp | 29 ++++++++++++ ESP32/src/utils.h | 3 ++ ESP32/src/vehicle-monitor.cpp | 10 ++++ WebApp/src/monitor-api.ts | 10 ++-- 9 files changed, 154 insertions(+), 9 deletions(-) create mode 100644 ESP32/src/Info.h diff --git a/ESP32/.cproject b/ESP32/.cproject index cde4c4a..a66bce6 100644 --- a/ESP32/.cproject +++ b/ESP32/.cproject @@ -15,7 +15,7 @@ - + @@ -232,6 +232,9 @@ + + +