summaryrefslogtreecommitdiff
path: root/gr-uhd/include/gr_uhd_usrp_sink.h
diff options
context:
space:
mode:
authorJosh Blum2013-04-12 17:37:26 -0700
committerJosh Blum2013-06-25 14:13:50 -0700
commit4a2a578800fe18136615e51c6f1a8c072b5dd71e (patch)
tree25fa08c3bd3261354429b458c8c8464c02abc2a9 /gr-uhd/include/gr_uhd_usrp_sink.h
parenta88769e6f5ec9d6d3739d0b56dd9185c9c54009b (diff)
downloadgnuradio-4a2a578800fe18136615e51c6f1a8c072b5dd71e.tar.gz
gnuradio-4a2a578800fe18136615e51c6f1a8c072b5dd71e.tar.bz2
gnuradio-4a2a578800fe18136615e51c6f1a8c072b5dd71e.zip
uhd: added getters for bandwidth setting and range
Diffstat (limited to 'gr-uhd/include/gr_uhd_usrp_sink.h')
-rw-r--r--gr-uhd/include/gr_uhd_usrp_sink.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gr-uhd/include/gr_uhd_usrp_sink.h b/gr-uhd/include/gr_uhd_usrp_sink.h
index eaf60fb77..9cea6f3e2 100644
--- a/gr-uhd/include/gr_uhd_usrp_sink.h
+++ b/gr-uhd/include/gr_uhd_usrp_sink.h
@@ -290,6 +290,20 @@ public:
virtual void set_bandwidth(double bandwidth, size_t chan = 0) = 0;
/*!
+ * Get the bandpass filter setting on the RF frontend.
+ * \param chan the channel index 0 to N-1
+ * \return bandwidth of the filter in Hz
+ */
+ virtual double get_bandwidth(size_t chan = 0) = 0;
+
+ /*!
+ * Get the bandpass filter range of the RF frontend.
+ * \param chan the channel index 0 to N-1
+ * \return the range of the filter bandwidth in Hz
+ */
+ virtual uhd::freq_range_t get_bandwidth_range(size_t chan = 0) = 0;
+
+ /*!
* Set a constant DC offset value.
* The value is complex to control both I and Q.
* \param offset the dc offset (1.0 is full-scale)