From 558a210085b61b84e3be5a420d86d2ee6a500c8e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 8 Jul 2021 15:49:23 +0200 Subject: Add support for BladeRF devices Many thanks to Steven Rossel for the work he did during his student project. --- src/ConfigParser.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ConfigParser.h') diff --git a/src/ConfigParser.h b/src/ConfigParser.h index 33d7824..574caa2 100644 --- a/src/ConfigParser.h +++ b/src/ConfigParser.h @@ -38,6 +38,7 @@ #include "output/UHD.h" #include "output/Soapy.h" #include "output/Lime.h" +#include "output/BladeRF.h" #define ZMQ_INPUT_MAX_FRAME_QUEUE 500 @@ -51,6 +52,8 @@ struct mod_settings_t { bool useUHDOutput = false; bool useSoapyOutput = false; bool useLimeOutput = false; + bool useBladeRFOutput = false; + const std::string BladeRFOutputFormat = "s16"; // to transmit SC16 IQ size_t outputRate = 2048000; size_t clockRate = 0; @@ -84,7 +87,7 @@ struct mod_settings_t { // Settings for the OFDM windowing size_t ofdmWindowOverlap = 0; -#if defined(HAVE_OUTPUT_UHD) || defined(HAVE_SOAPYSDR) || defined(HAVE_LIMESDR) +#if defined(HAVE_OUTPUT_UHD) || defined(HAVE_SOAPYSDR) || defined(HAVE_LIMESDR) || defined(HAVE_BLADERF) Output::SDRDeviceConfig sdr_device_config; #endif -- cgit v1.2.3