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