Fix direwolf not outputting decoded APRS packets

Changed -q d to -q h flag. The -q d option was suppressing APRS packet
descriptions (the decoded output we need), while -q h only suppresses
the audio level heard line.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-15 21:04:49 +00:00
parent 0d6d81fb69
commit 4baefa61ac

View File

@@ -440,10 +440,10 @@ def start_aprs() -> Response:
# -n 1 = mono audio channel
# -r 22050 = sample rate
# -b 16 = 16-bit samples
# -t 0 = disable PTT (receive only)
# -q d = quiet mode (less debug output)
# -t 0 = disable text colors (for cleaner parsing)
# -q h = quiet mode - suppress audio level heard line (keeps packet output)
# - = read from stdin
decoder_cmd = [direwolf_path, '-n', '1', '-r', '22050', '-b', '16', '-t', '0', '-q', 'd', '-']
decoder_cmd = [direwolf_path, '-n', '1', '-r', '22050', '-b', '16', '-t', '0', '-q', 'h', '-']
decoder_name = 'direwolf'
else:
decoder_cmd = [multimon_path, '-t', 'raw', '-a', 'AFSK1200', '-']