From 7fd98c8c5c6bb80c18601cdffd14ed515f52bf02 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Wed, 12 Jan 2022 15:48:06 +0100 Subject: [PATCH] add support for blade rf devices --- CHANGELOG.md | 2 ++ debian/changelog | 2 ++ owrx/feature.py | 9 +++++++++ owrx/source/bladerf.py | 11 +++++++++++ 4 files changed, 24 insertions(+) create mode 100644 owrx/source/bladerf.py diff --git a/CHANGELOG.md b/CHANGELOG.md index da8abda..c9c1f80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ **unreleased** - Major rewrite of all demodulation components to make use of the new csdr/pycsdr and digiham/pydigiham demodulator modules +- New devices supported: + - Blade RF **1.1.0** - Reworked most graphical elements as SVGs for faster loadtimes and crispier display on hi-dpi displays diff --git a/debian/changelog b/debian/changelog index 1f3134f..b85725f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ openwebrx (1.2.0) UNRELEASED; urgency=low * Major rewrite of all demodulation components to make use of the new csdr/pycsdr and digiham/pydigiham demodulator modules + * New devices supported: + - Blade RF -- Jakob Ketterl Tue, 03 Aug 2021 13:54:00 +0000 diff --git a/owrx/feature.py b/owrx/feature.py index 29754a2..d4b946e 100644 --- a/owrx/feature.py +++ b/owrx/feature.py @@ -68,6 +68,7 @@ class FeatureDetector(object): "uhd": ["soapy_connector", "soapy_uhd"], "radioberry": ["soapy_connector", "soapy_radioberry"], "fcdpp": ["soapy_connector", "soapy_fcdpp"], + "bladerf": ["soapy_connector", "soapy_bladerf"], "sddc": ["sddc_connector"], "hpsdr": ["hpsdr_connector"], "runds": ["runds_connector"], @@ -385,6 +386,14 @@ class FeatureDetector(object): """ return self._has_soapy_driver("fcdpp") + def has_soapy_bladerf(self): + """ + The SoapyBladeRF module allows the use of Blade RF devices. + + You can get it [here](https://github.com/pothosware/SoapyBladeRF). + """ + return self._has_soapy_driver("bladerf") + def has_m17_demod(self): """ The `m17-demod` tool is used to demodulate M17 digital voice signals. diff --git a/owrx/source/bladerf.py b/owrx/source/bladerf.py new file mode 100644 index 0000000..b08e4a2 --- /dev/null +++ b/owrx/source/bladerf.py @@ -0,0 +1,11 @@ +from owrx.source.soapy import SoapyConnectorSource, SoapyConnectorDeviceDescription + + +class BladerfSource(SoapyConnectorSource): + def getDriver(self): + return "bladerf" + + +class BladerfDeviceDescription(SoapyConnectorDeviceDescription): + def getName(self): + return "Blade RF"