mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Adjustment to dashboard style and 500 error
This commit is contained in:
@@ -178,17 +178,17 @@ class RTLSDRCommandBuilder(CommandBuilder):
|
||||
|
||||
cmd = [
|
||||
'AIS-catcher',
|
||||
'-d', str(device.index),
|
||||
f'-d:{device.index}', # Device index (colon format required)
|
||||
'-S', str(tcp_port), # TCP server with JSON output
|
||||
'-o', '5', # JSON output format
|
||||
'-q', # Quiet mode (less console output)
|
||||
]
|
||||
|
||||
if gain is not None and gain > 0:
|
||||
cmd.extend(['-gr', 'tuner', str(int(gain))])
|
||||
cmd.extend(['-gr', 'TUNER', str(int(gain))])
|
||||
|
||||
if bias_t:
|
||||
cmd.extend(['-gr', 'biastee', '1'])
|
||||
cmd.extend(['-gr', 'BIASTEE', 'on'])
|
||||
|
||||
return cmd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user