mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 14:50:00 -07:00
Fix rtl_433 bias-t flag and add TSCM enhancements
- Fix bias-t option in rtl_433 for RTL-SDR and HackRF: - rtl_433's -T flag is for timeout, not bias-t - RTL-SDR: Use :biast=1 suffix on device string - HackRF: Use bias_t=1 in SoapySDR device string - Add "Listen (FM/AM)" buttons to TSCM RF signal details - Switches to Listening Post mode and tunes to frequency - Fix device detail header padding to prevent protocol badge overlapping with close button
This commit is contained in:
@@ -134,8 +134,14 @@ class HackRFCommandBuilder(CommandBuilder):
|
||||
Build rtl_433 command with SoapySDR support for ISM band decoding.
|
||||
|
||||
rtl_433 has native SoapySDR support via -d flag.
|
||||
|
||||
Note: rtl_433's -T flag is for timeout, NOT bias-t.
|
||||
For SoapySDR devices, bias-t is passed as a device setting.
|
||||
"""
|
||||
# Build device string with optional bias-t setting
|
||||
device_str = self._build_device_string(device)
|
||||
if bias_t:
|
||||
device_str = f'{device_str},bias_t=1'
|
||||
|
||||
cmd = [
|
||||
'rtl_433',
|
||||
@@ -147,9 +153,6 @@ class HackRFCommandBuilder(CommandBuilder):
|
||||
if gain is not None and gain > 0:
|
||||
cmd.extend(['-g', str(int(gain))])
|
||||
|
||||
if bias_t:
|
||||
cmd.extend(['-T'])
|
||||
|
||||
return cmd
|
||||
|
||||
def get_capabilities(self) -> SDRCapabilities:
|
||||
|
||||
Reference in New Issue
Block a user