diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-07-08 15:49:23 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-11-26 16:51:25 +0100 |
commit | 558a210085b61b84e3be5a420d86d2ee6a500c8e (patch) | |
tree | cb16ff88132ef9e7c946a4e3f5523f9113cf4aed /src/ConfigParser.h | |
parent | 22fd7d757f11a6c976d7e711fd46cf2ce3247c44 (diff) | |
download | dabmod-558a210085b61b84e3be5a420d86d2ee6a500c8e.tar.gz dabmod-558a210085b61b84e3be5a420d86d2ee6a500c8e.tar.bz2 dabmod-558a210085b61b84e3be5a420d86d2ee6a500c8e.zip |
Add support for BladeRF devices
Many thanks to Steven Rossel for the work he did during his student
project.
Diffstat (limited to 'src/ConfigParser.h')
-rw-r--r-- | src/ConfigParser.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |