mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
19 lines
475 B
Python
19 lines
475 B
Python
from owrx.source.soapy import SoapyConnectorSource, SoapyConnectorDeviceDescription
|
|
from owrx.form.input.validator import Range
|
|
|
|
|
|
class FcdppSource(SoapyConnectorSource):
|
|
def getDriver(self):
|
|
return "fcdpp"
|
|
|
|
|
|
class FcdppDeviceDescription(SoapyConnectorDeviceDescription):
|
|
def getName(self):
|
|
return "FunCube Dongle Pro+"
|
|
|
|
def getSampleRateRanges(self) -> list[Range]:
|
|
return [
|
|
Range(96000),
|
|
Range(192000),
|
|
]
|