2020-01-10 20:43:28 +01:00
|
|
|
from .soapy import SoapyConnectorSource
|
|
|
|
|
|
|
|
|
|
|
|
class RtlSdrSoapySource(SoapyConnectorSource):
|
2020-03-14 01:04:52 +01:00
|
|
|
def getSoapySettingsMappings(self):
|
|
|
|
mappings = super().getSoapySettingsMappings()
|
2020-03-14 23:06:52 +01:00
|
|
|
mappings.update({"direct_sampling": "direct_samp", "bias_tee": "biastee"})
|
2020-03-14 01:04:52 +01:00
|
|
|
return mappings
|
2020-01-10 20:50:56 +01:00
|
|
|
|
2020-01-10 20:43:28 +01:00
|
|
|
def getDriver(self):
|
|
|
|
return "rtlsdr"
|