mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user