Add bias_t parameter to build_adsb_command()

Completes bias-T support across all SDR command builder methods.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-08 12:17:02 +00:00
parent 41ebf59964
commit 471cc1ee94
5 changed files with 21 additions and 5 deletions

View File

@@ -118,7 +118,8 @@ class CommandBuilder(ABC):
def build_adsb_command(
self,
device: SDRDevice,
gain: Optional[float] = None
gain: Optional[float] = None,
bias_t: bool = False
) -> list[str]:
"""
Build ADS-B decoder command.
@@ -126,6 +127,7 @@ class CommandBuilder(ABC):
Args:
device: The SDR device to use
gain: Gain in dB (None for auto)
bias_t: Enable bias-T power (for active antennas)
Returns:
Command as list of strings for subprocess