Add web dashboard configuration for master and slaves.

Expose deadzone and unicast-test via HTTP API and UI, reusing the same UART commands as the CLI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-19 00:10:33 +02:00
co-authored by Cursor
parent caf1b8d0d8
commit 85aeab85c0
6 changed files with 397 additions and 18 deletions
+1
View File
@@ -40,6 +40,7 @@ func runServe(portName string, baud int, args []string) error {
go runPoller(link, portName, hub, *interval, stop)
mux := http.NewServeMux()
mountServeAPI(mux, link)
mux.HandleFunc("/ws", func(w http.ResponseWriter, r *http.Request) {
conn, err := wsUpgrader.Upgrade(w, r, nil)
if err != nil {