aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/device.hpp11
-rw-r--r--host/include/uhd/usrp/multi_usrp.hpp2
2 files changed, 5 insertions, 8 deletions
diff --git a/host/include/uhd/device.hpp b/host/include/uhd/device.hpp
index 38424c866..7fffc59b6 100644
--- a/host/include/uhd/device.hpp
+++ b/host/include/uhd/device.hpp
@@ -87,18 +87,15 @@ public:
*/
virtual tx_streamer::sptr get_tx_stream(const stream_args_t& args) = 0;
- /*! Receive asynchronous message from the device
+ /*! DEPRECATED: Receive asynchronous message from the device
*
- * Note that when calling multi_usrp::get_device() on an RFNoC-capable device,
- * the returned uhd::device (while still being a valid object) will not be
- * able to execute this method. Instead, query the asynchronous messages
- * from the appropriate Tx streamer.
+ * Prefer calling recv_async_msg on the associated TX streamer. This method
+ * has the problem that it doesn't necessarily know which Tx streamer is
+ * being addressed, and thus might not be delivering the expected outcome.
*
* \param async_metadata the metadata to be filled in
* \param timeout the timeout in seconds to wait for a message
* \return true when the async_metadata is valid, false for timeout
- * \throws uhd::runtime_error if called on a device returned by
- * multi_usrp::get_device on an RFNoC device.
*/
virtual bool recv_async_msg(
async_metadata_t& async_metadata, double timeout = 0.1) = 0;
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp
index 5d86370c6..53e63361f 100644
--- a/host/include/uhd/usrp/multi_usrp.hpp
+++ b/host/include/uhd/usrp/multi_usrp.hpp
@@ -129,7 +129,7 @@ public:
* For RFNoC devices, this won't return a true uhd::device anyway, because
* direct device access is locked for those. The returned pointer will
* still point to a valid device object, however, it has reduced
- * functionality (in particular, recv_async_msg() won't work).
+ * functionality.
*
* \return the device object within this USRP
*/