2019-12-21 19:58:28 +00:00
|
|
|
from .soapy import SoapyConnectorSource
|
|
|
|
|
|
|
|
|
|
|
|
class SdrplaySource(SoapyConnectorSource):
|
2020-03-14 00:15:25 +00:00
|
|
|
def getSoapySettingsMappings(self):
|
|
|
|
mappings = super().getSoapySettingsMappings()
|
2020-03-14 00:21:43 +00:00
|
|
|
mappings.update(
|
|
|
|
{
|
|
|
|
"bias_tee": "biasT_ctrl",
|
|
|
|
"rf_notch": "rfnotch_ctrl",
|
|
|
|
"dab_notch": "dabnotch_ctrl",
|
2020-04-26 11:49:03 +00:00
|
|
|
"if_mode": "if_mode",
|
2020-03-14 00:21:43 +00:00
|
|
|
}
|
|
|
|
)
|
2020-03-14 00:15:25 +00:00
|
|
|
return mappings
|
|
|
|
|
2019-12-21 19:58:28 +00:00
|
|
|
def getDriver(self):
|
|
|
|
return "sdrplay"
|