From aee1642ef6a27aac70e0f5520adab3336403d32f Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 10 Jan 2020 19:54:53 +0100 Subject: [PATCH] add limesdr soapy driver module --- owrx/feature.py | 9 +++++++++ owrx/source/lime_sdr.py | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 owrx/source/lime_sdr.py diff --git a/owrx/feature.py b/owrx/feature.py index 70f4ec2..a85fa13 100644 --- a/owrx/feature.py +++ b/owrx/feature.py @@ -26,6 +26,7 @@ class FeatureDetector(object): "hackrf": ["hackrf_transfer"], "airspy": ["soapy_connector", "soapy_airspy"], "airspyhf": ["soapy_connector", "soapy_airspyhf"], + "lime_sdr": ["soapy_connector", "soapy_lime_sdr"], "fifi_sdr": ["alsa"], # optional features and their requirements "digital_voice_digiham": ["digiham", "sox"], @@ -262,6 +263,14 @@ class FeatureDetector(object): """ return self._has_soapy_driver("airspyhf") + def has_soapy_lime_sdr(self): + """ + The Lime Suite installs - amongst others - a Soapy driver for the LimeSDR device series. + + You can get it [here](https://github.com/myriadrf/LimeSuite). + """ + return self._has_soapy_driver("LMS7") + def has_dsd(self): """ The digital voice modes NXDN and D-Star can be decoded by the dsd project. Please note that you need the version diff --git a/owrx/source/lime_sdr.py b/owrx/source/lime_sdr.py new file mode 100644 index 0000000..6220b68 --- /dev/null +++ b/owrx/source/lime_sdr.py @@ -0,0 +1,6 @@ +from .soapy import SoapyConnectorSource + + +class LimeSdrSource(SoapyConnectorSource): + def getDriver(self): + return "lime"