feat: decode Config response in donglora.py, add all_commands.py example

Config response (GetConfig) now returns decoded RadioConfig fields instead
of raw hex. New all_commands.py exercises all 8 protocol commands in
sequence — Ping, SetConfig, GetConfig, StartRx, StopRx, Transmit,
DisplayOff, DisplayOn.
This commit is contained in:
swaits committed 2026-03-29 22:24:46 -06:00
1 parent ff8762b9e4
commit f54579bfde
3 files changed
+57

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ All examples use [uv](https://docs.astral.sh/uv/) for dependency management:
| Script | Description |
|--------|-------------|
| [`all_commands.py`](examples/all_commands.py) | Exercise all 8 commands (Ping, SetConfig, GetConfig, StartRx, StopRx, Transmit, DisplayOn/Off) |
| [`simple_rx.py`](examples/simple_rx.py) | Configure radio, receive and print packets |
| [`simple_tx.py`](examples/simple_tx.py) | Transmit a single packet |
| [`ping_pong.py`](examples/ping_pong.py) | Two-dongle demo (`--role tx` / `--role rx`) |