16 lines
464 B
Python
16 lines
464 B
Python
from owrx.source.soapy import SoapyConnectorSource, SoapyConnectorDeviceDescription
|
|
|
|
|
|
class RtlSdrSoapySource(SoapyConnectorSource):
|
|
def getSoapySettingsMappings(self):
|
|
mappings = super().getSoapySettingsMappings()
|
|
mappings.update({"direct_sampling": "direct_samp", "bias_tee": "biastee"})
|
|
return mappings
|
|
|
|
def getDriver(self):
|
|
return "rtlsdr"
|
|
|
|
|
|
class RtlSdrSoapyDeviceDescription(SoapyConnectorDeviceDescription):
|
|
pass
|