diff options
author | Robert Ghilduta <robert.ghilduta@nuand.com> | 2014-06-11 01:11:09 -0700 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2014-07-11 16:53:23 +0200 |
commit | 9cb023b00a36d04ad8ea7e0bf08ad0623ab3e95f (patch) | |
tree | 83dea109c90ca1a8ffec0c2a06a766d699bb7448 /lib/bladerf/bladerf_common.h | |
parent | c65d205d3b7cc734f97284b66054e16c90886df2 (diff) |
bladeRF: Add XB-200 support
This commit adds support for the bladeRF XB-200 transverter expansion
board. To enable the expansion board and to allow the osmocom source or
sink to tune down to 0Hz, parameter xb200 has to be set. XB-200 comes
with 4 filter banks which can be selected by passing their name as
a value of the xb200 parameter. Automatic filter selection will be
enabled if no value is given to the xb200 parameter.
Example:
osmocom_fft -a bladerf,xb200
osmocom_fft -a bladerf,xb200=50M
The following values are valid:
"custom" : custom band
"50M" : 50MHz band
"144M" : 144MHz band
"222M" : 222MHz band
"auto3db" : Select fiterbank based on -3dB filter points
"auto" : Select filerbank based on -1dB filter points (default)
Diffstat (limited to 'lib/bladerf/bladerf_common.h')
-rw-r--r-- | lib/bladerf/bladerf_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bladerf/bladerf_common.h b/lib/bladerf/bladerf_common.h index b13a6cf..3b1cb0b 100644 --- a/lib/bladerf/bladerf_common.h +++ b/lib/bladerf/bladerf_common.h @@ -82,6 +82,8 @@ protected: std::string _pfx; + bool _xb_200_attached; + /* BladeRF IQ correction parameters */ static const int16_t DCOFF_SCALE = 2048; static const int16_t GAIN_SCALE = 4096; |