hilink: add read-only YAML-aware MSP VTX status

This commit is contained in:
2026-09-27 23:01:52 +02:00
parent b8c32c84a1
commit 847f0bb157
4 changed files with 215 additions and 1 deletions
@@ -15,6 +15,7 @@ case "$1" in
-c 6 \
-p 500 \
-w 1000 \
--mspvtx \
-r 20 \
-m /dev/ttyS2 \
-o 127.0.0.1:14551 \
@@ -120,7 +120,7 @@ start_telemetry() {
size=$(curl -s localhost/api/v1/config.json | jsonfilter -qe "@.video0.size")
fi
if ! pidof msposd >/dev/null; then
msposd -b 115200 -c 8 -c 6 -p 500 -w 1000 -r "$osd_fps" -m /dev/"$serial" \
msposd -b 115200 -c 8 -c 6 -p 500 -w 1000 --mspvtx -r "$osd_fps" -m /dev/"$serial" \
-o 127.0.0.1:"$port_tx" -z "$size" > /dev/null &
fi
fi