HIL harness, docs, SDR PLL-wedge workaround; firmware flashed and in RX

This commit is contained in:
Lars Nolden
2026-08-31 22:23:26 +02:00
parent 5b46f647f6
commit 3b8547fb8a
13 changed files with 727 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# Capture wM-Bus frames with the RTL-SDR for a fixed duration.
# Usage: capture_sdr.sh DURATION_S OUTFILE [GAIN]
# timeout is applied to rtl_sdr itself so the pipeline dies cleanly
# (killing a wrapping shell orphans the children -- learned the hard way).
set -euo pipefail
cd "$(dirname "$0")/.."
DUR=$1; OUT=$2; GAIN=${3:-42.1}
timeout "$DUR" rtl_sdr -f 868950000 -s 1600000 -g "$GAIN" - 2>"${OUT%.log}.err" \
| rtl_wmbus -f > "$OUT" 2>/dev/null || true