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