diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-04-21 22:09:17 -0700 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-05-20 15:19:55 -0500 |
commit | e67871c7c83ad8f03ed1dcbb719fc8211ce759ce (patch) | |
tree | 965e93b5e1815d176bed041845b997527d1a9fa5 /host/lib/rfnoc/radio_control_impl.cpp | |
parent | e59067137c1d961577df2e0e1d98b56fb01e2ce6 (diff) | |
download | uhd-e67871c7c83ad8f03ed1dcbb719fc8211ce759ce.tar.gz uhd-e67871c7c83ad8f03ed1dcbb719fc8211ce759ce.tar.bz2 uhd-e67871c7c83ad8f03ed1dcbb719fc8211ce759ce.zip |
rfnoc: radio: Add APIs to query cal keys
This allows asking the radio for the keys it uses to read/write its
calibration data.
By querying radio_control::get_{rx,tx}_power_ref_keys(), the return
values can be used to access uhd::usrp::cal::database::read_cal_data().
Diffstat (limited to 'host/lib/rfnoc/radio_control_impl.cpp')
-rw-r--r-- | host/lib/rfnoc/radio_control_impl.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/host/lib/rfnoc/radio_control_impl.cpp b/host/lib/rfnoc/radio_control_impl.cpp index e34a9b430..b3da7ec13 100644 --- a/host/lib/rfnoc/radio_control_impl.cpp +++ b/host/lib/rfnoc/radio_control_impl.cpp @@ -611,6 +611,16 @@ double radio_control_impl::get_tx_power_reference(const size_t) return 0.0; } +std::vector<std::string> radio_control_impl::get_rx_power_ref_keys(const size_t) +{ + return {}; +} + +std::vector<std::string> radio_control_impl::get_tx_power_ref_keys(const size_t) +{ + return {}; +} + /****************************************************************************** * LO Default API *****************************************************************************/ |