openwebrx-clone/owrx/source/airspy.py

14 lines
373 B
Python
Raw Permalink Normal View History

2019-12-27 23:33:27 +00:00
from owrx.command import Flag
from .soapy import SoapyConnectorSource
class AirspySource(SoapyConnectorSource):
2019-12-31 18:14:05 +00:00
def getCommandMapper(self):
return super().getCommandMapper().setMappings({"bias_tee": Flag("-t biastee=true")})
2019-12-27 23:33:27 +00:00
def getDriver(self):
return "airspy"
def getEventNames(self):
return super().getEventNames() + ["bias_tee"]