Files
ESP32_COMM/tools/serve.bat
T

23 lines
537 B
Batchfile
Raw Normal View History

@echo off
:: ESP32 COMM Host Server Launcher (Windows)
:: Double-click to start, then visit http://localhost:8080
set PORT=8080
echo ========================================
echo ESP32 COMM Host Server
echo PORT: %PORT%
echo ========================================
echo.
2026-06-16 23:17:06 +08:00
echo OTA Console: http://localhost:%PORT%/index.html
echo.
echo Switch WiFi / BLE mode in the "Device Connect" card.
echo.
echo Press Ctrl+C to stop
echo ========================================
echo.
cd /d "%~dp0"
python -m http.server %PORT%
pause