From 4a2a578800fe18136615e51c6f1a8c072b5dd71e Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 12 Apr 2013 17:37:26 -0700 Subject: uhd: added getters for bandwidth setting and range --- gr-uhd/include/gr_uhd_usrp_sink.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gr-uhd/include/gr_uhd_usrp_sink.h') 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 @@ -289,6 +289,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. -- cgit