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
This commit is contained in:
Device
2026-01-25 17:07:45 +01:00
committed by GitHub
parent 3b238c3c8f
commit 8d30c40fe2

View File

@@ -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