mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
17 lines
455 B
Python
17 lines
455 B
Python
from owrx.source.soapy import SoapyConnectorSource, SoapyConnectorDeviceDescription
|
|
from owrx.form.input.validator import Range
|
|
from typing import List
|
|
|
|
|
|
class BladerfSource(SoapyConnectorSource):
|
|
def getDriver(self):
|
|
return "bladerf"
|
|
|
|
|
|
class BladerfDeviceDescription(SoapyConnectorDeviceDescription):
|
|
def getName(self):
|
|
return "Blade RF"
|
|
|
|
def getSampleRateRanges(self) -> List[Range]:
|
|
return [Range(160000, 40000000)]
|