openwebrx/owrx/source/fcdpp.py

20 lines
499 B
Python
Raw Permalink Normal View History

2021-02-20 18:09:24 +01:00
from owrx.source.soapy import SoapyConnectorSource, SoapyConnectorDeviceDescription
2024-01-17 22:39:05 +01:00
from owrx.form.input.validator import Range
from typing import List
2020-07-09 15:39:33 +02:00
class FcdppSource(SoapyConnectorSource):
def getDriver(self):
return "fcdpp"
2021-02-20 18:09:24 +01:00
class FcdppDeviceDescription(SoapyConnectorDeviceDescription):
def getName(self):
return "FunCube Dongle Pro+"
2024-01-17 22:39:05 +01:00
def getSampleRateRanges(self) -> List[Range]:
2024-01-17 22:39:05 +01:00
return [
Range(96000),
Range(192000),
]