From 8d30c40fe2896bfeb1e1693349cbcc52765f57d9 Mon Sep 17 00:00:00 2001 From: Device Date: Sun, 25 Jan 2026 17:07:45 +0100 Subject: [PATCH] Fixing the AIS-catcher parameter for data ingest The -o 5 flag sets the console/stdout output format to JSON, but it does NOT configure the TCP server output format --- utils/sdr/rtlsdr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/sdr/rtlsdr.py b/utils/sdr/rtlsdr.py index 14f6655..fbd9522 100644 --- a/utils/sdr/rtlsdr.py +++ b/utils/sdr/rtlsdr.py @@ -179,8 +179,7 @@ class RTLSDRCommandBuilder(CommandBuilder): cmd = [ 'AIS-catcher', f'-d:{device.index}', # Device index (colon format required) - '-S', str(tcp_port), # TCP server with JSON output - '-o', '5', # JSON output format + '-S', str(tcp_port), 'JSON', # TCP server with JSON output '-q', # Quiet mode (less console output) ] @@ -200,3 +199,4 @@ class RTLSDRCommandBuilder(CommandBuilder): def get_sdr_type(cls) -> SDRType: """Return SDR type.""" return SDRType.RTL_SDR +