mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-05 06:25:19 +00:00
13 lines
373 B
Python
13 lines
373 B
Python
from owrx.command import Flag
|
|
from .soapy import SoapyConnectorSource
|
|
|
|
|
|
class AirspySource(SoapyConnectorSource):
|
|
def getCommandMapper(self):
|
|
return super().getCommandMapper().setMappings({"bias_tee": Flag("-t biastee=true")})
|
|
|
|
def getDriver(self):
|
|
return "airspy"
|
|
|
|
def getEventNames(self):
|
|
return super().getEventNames() + ["bias_tee"]
|