diff options
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_impl.hpp')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_impl.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_impl.hpp b/host/lib/usrp/mpmd/mpmd_impl.hpp index 364978fd7..5b19bcc00 100644 --- a/host/lib/usrp/mpmd/mpmd_impl.hpp +++ b/host/lib/usrp/mpmd/mpmd_impl.hpp @@ -131,6 +131,12 @@ public: _allow_claim_failure_flag = allow; } + //! Read the device access token + std::string get_token() + { + return _token; + } + private: /*! Reference to the RPC client that handles claiming */ @@ -165,6 +171,10 @@ private: */ uhd::task::sptr _claimer_task; + /*! A copy of the device access token + */ + std::string _token; + /*! This flag is only used within the claim() function. Go look there if you * really need to know what it does. */ |