aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-08-19 17:13:21 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:12 -0800
commit56f21097483da8aa5d8787a75a1b22a0c4c41313 (patch)
tree655cbed9358da4ce72ec6965a807bf868747aded
parent0eb760f4db92dc0a97ea4924fa044e7a48820a54 (diff)
downloaduhd-56f21097483da8aa5d8787a75a1b22a0c4c41313.tar.gz
uhd-56f21097483da8aa5d8787a75a1b22a0c4c41313.tar.bz2
uhd-56f21097483da8aa5d8787a75a1b22a0c4c41313.zip
niusrprio: Add get_resource() API call
-rw-r--r--host/include/uhd/transport/nirio/niusrprio_session.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/include/uhd/transport/nirio/niusrprio_session.h b/host/include/uhd/transport/nirio/niusrprio_session.h
index 41f05aec0..2154c41f1 100644
--- a/host/include/uhd/transport/nirio/niusrprio_session.h
+++ b/host/include/uhd/transport/nirio/niusrprio_session.h
@@ -87,6 +87,11 @@ public:
static niriok_proxy::sptr create_kernel_proxy(
const std::string& resource_name, const std::string& rpc_port_name);
+ std::string get_resource() const
+ {
+ return _resource_name;
+ }
+
private:
nirio_status _verify_signature();
std::string _read_bitstream_checksum();