mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-05 14:35:26 +00:00
15 lines
434 B
Python
15 lines
434 B
Python
from owrx.source.soapy import SoapyConnectorSource, SoapyConnectorDeviceDescription
|
|
from owrx.form.input.validator import Range
|
|
|
|
|
|
class PlutoSdrSource(SoapyConnectorSource):
|
|
def getDriver(self):
|
|
return "plutosdr"
|
|
|
|
|
|
class PlutoSdrDeviceDescription(SoapyConnectorDeviceDescription):
|
|
def getName(self):
|
|
return "PlutoSDR"
|
|
|
|
def getSampleRateRanges(self) -> list[Range]:
|
|
return [Range(520833, 61440000)]
|