feat: add HTTP server with OpenAPI docs and token-protected settings for a USB-connected STRIX

This commit is contained in:
randogoth 2026-10-29 20:25:27 +02:00
parent 9a2ec11a4c
commit 1196bbc6af
5 changed files with 934 additions and 1 deletions

View file

@ -83,7 +83,7 @@ Until WiFi is started, the FPGA holds the WiFi module in reset.
| `/config` | `get` |
| `/set?key=<key>&value=<value>` | `set <key> <value>` |
Replies have status 200 (errors are JSON `{"error":...}`), or 404 for unknown paths, and allow cross-origin requests. `watch` works over USB and BLE only.
Replies have status 200 (errors are JSON `{"error":...}`), or 404 for unknown paths, and allow cross-origin requests. `tools/strix_serve.py` serves the same routes for a board connected over USB (see the README). `watch` works over USB and BLE only.
## Bluetooth LE