2019-12-27 23:33:27 +00:00
|
|
|
from owrx.command import Flag
|
2019-12-21 19:58:28 +00:00
|
|
|
from .soapy import SoapyConnectorSource
|
|
|
|
|
|
|
|
|
|
|
|
class AirspySource(SoapyConnectorSource):
|
2020-03-14 00:13:23 +00:00
|
|
|
def getSoapySettingsMappings(self):
|
|
|
|
mappings = super().getSoapySettingsMappings()
|
2020-03-21 14:18:45 +00:00
|
|
|
mappings.update(
|
|
|
|
{
|
|
|
|
"bias_tee": "biastee",
|
|
|
|
"bitpack": "bitpack",
|
|
|
|
}
|
|
|
|
)
|
2020-03-14 00:13:23 +00:00
|
|
|
return mappings
|
2019-12-27 23:33:27 +00:00
|
|
|
|
2019-12-21 19:58:28 +00:00
|
|
|
def getDriver(self):
|
|
|
|
return "airspy"
|