diff options
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_impl.hpp')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_impl.hpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_impl.hpp b/host/lib/usrp/mpmd/mpmd_impl.hpp index 0a5ed4545..5efece5d0 100644 --- a/host/lib/usrp/mpmd/mpmd_impl.hpp +++ b/host/lib/usrp/mpmd/mpmd_impl.hpp @@ -127,6 +127,9 @@ class mpmd_mboard_impl void set_timeout_default(); private: + /*! Reference to the RPC client that handles claiming + */ + uhd::rpc_client::sptr _claim_rpc; /************************************************************************* * Private methods ************************************************************************/ @@ -137,9 +140,15 @@ class mpmd_mboard_impl */ bool claim(); + /*! Set RPC client timeout value + * + * \param timeout_ms time limit (in ms) that a rpc client waits for a single call + */ + void set_rpcc_timeout( + const uint64_t timeout_ms + ); + uhd::task::sptr claim_device_and_make_task( - uhd::rpc_client::sptr rpc, - const uhd::device_addr_t mb_args ); /*! Read out the log buffer from the MPM device and send it to native |