Adding Soapy-based Mirics driver (copyright-free SDRPlay driver).
This commit is contained in:
parent
6e24f618c9
commit
7b4d06dd7f
|
|
@ -57,7 +57,7 @@ class FeatureDetector(object):
|
|||
"rtl_sdr_soapy": ["soapy_connector", "soapy_rtl_sdr"],
|
||||
"rtl_tcp": ["rtl_tcp_connector"],
|
||||
"sdrplay": ["soapy_connector", "soapy_sdrplay"],
|
||||
"soapyMiri": ["soapy_connector", "soapy_soapyMiri"],
|
||||
"mirics": ["soapy_connector", "soapy_mirics"],
|
||||
"hackrf": ["soapy_connector", "soapy_hackrf"],
|
||||
"perseussdr": ["perseustest", "nmux"],
|
||||
"airspy": ["soapy_connector", "soapy_airspy"],
|
||||
|
|
@ -342,10 +342,10 @@ class FeatureDetector(object):
|
|||
"""
|
||||
return self._has_soapy_driver("sdrplay")
|
||||
|
||||
def has_soapy_soapyMiri(self):
|
||||
def has_soapy_mirics(self):
|
||||
"""
|
||||
The [SoapySDR module for Miric](https://github.com/ericek111/SoapyMiri)
|
||||
devices is required for interfacing with Miric-based hardware (MSi2500 etc).
|
||||
The [SoapySDR module for Mirics](https://github.com/ericek111/SoapyMiri)
|
||||
devices is required for interfacing with Mirics-based hardware (MSi2500 etc).
|
||||
You will also need to install the [libmirisdr-5](https://github.com/ericek111/libmirisdr-5) library.
|
||||
"""
|
||||
return self._has_soapy_driver("soapyMiri")
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from owrx.form.input.device import BiasTeeInput
|
|||
from typing import List
|
||||
|
||||
|
||||
class SoapymiriSource(SoapyConnectorSource):
|
||||
class MiricsSource(SoapyConnectorSource):
|
||||
def getSoapySettingsMappings(self):
|
||||
mappings = super().getSoapySettingsMappings()
|
||||
mappings.update(
|
||||
|
|
@ -37,7 +37,7 @@ class SoapymiriSource(SoapyConnectorSource):
|
|||
return mappings
|
||||
|
||||
def getDriver(self):
|
||||
return "soapyMiri"
|
||||
return "mirics"
|
||||
|
||||
class BuffLenOptions(DropdownEnum):
|
||||
BUFFLEN_15872 = "15872"
|
||||
|
|
@ -63,9 +63,9 @@ class AsyncBuffsOptions(DropdownEnum):
|
|||
def __str__(self):
|
||||
return self.value
|
||||
|
||||
class SoapymiriDeviceDescription(SoapyConnectorDeviceDescription):
|
||||
class MiricsDeviceDescription(SoapyConnectorDeviceDescription):
|
||||
def getName(self):
|
||||
return "Miric-based device (via SoapySDR)"
|
||||
return "Mirics-based device with the MSi2500 chip (via SoapySDR)"
|
||||
|
||||
def getInputs(self) -> List[Input]:
|
||||
return super().getInputs() + [
|
||||
Loading…
Reference in New Issue