From 1c74edffea28aa8f31ee8d79b4cad4c34259d0f2 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 27 Sep 2026 13:32:23 -0400 Subject: [PATCH] secondary-sdr: AIS-catcher output flag is -o 5, not -o JSON AIS-catcher rejects '-o JSON' (Unknown message format) and exited on every index. -o 5 is JSON Full, whose field names the reader already expects. Verified on radio-box: 16 AIS transmitters (Hudson AtoN buoys) decoded on a 9cm whip. (node-26#9) Co-Authored-By: Claude Opus 5.5 --- secondary-sdr-container/app/internal/decoder_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secondary-sdr-container/app/internal/decoder_control.py b/secondary-sdr-container/app/internal/decoder_control.py index b207c55..7c34418 100644 --- a/secondary-sdr-container/app/internal/decoder_control.py +++ b/secondary-sdr-container/app/internal/decoder_control.py @@ -86,7 +86,7 @@ def _ais_command(index: int) -> List[str]: return [ "/opt/AIS-catcher/build/AIS-catcher", f"-d:{index}", # "-d " would select by serial, not index - "-o", "JSON", + "-o", "5", # JSON Full: decoded fields (4 = sparse, "JSON" is rejected) ]