From 124ed644eed29ca5e245a2588eeaa8130f869223 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 12 Oct 2020 11:47:31 +0200 Subject: mpmd: Export RPC token and mb_args to the property tree There are applications (typically for debugging purposes) which need access to the token and the mb_args. They are thus published via the property tree. --- host/lib/usrp/mpmd/mpmd_prop_tree.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/lib/usrp/mpmd/mpmd_prop_tree.cpp') diff --git a/host/lib/usrp/mpmd/mpmd_prop_tree.cpp b/host/lib/usrp/mpmd/mpmd_prop_tree.cpp index dc559f91b..556e2e48d 100644 --- a/host/lib/usrp/mpmd/mpmd_prop_tree.cpp +++ b/host/lib/usrp/mpmd/mpmd_prop_tree.cpp @@ -101,6 +101,8 @@ void mpmd_impl::init_property_tree( .set(mb->device_info.get("fpga_version", "UNKNOWN")); tree->create(mb_path / "fpga_version_hash") .set(mb->device_info.get("fpga_version_hash", "UNKNOWN")); + tree->create(mb_path / "token").set(mb->get_token()); + tree->create(mb_path / "args").set(mb->mb_args); /*** Clocking *******************************************************/ tree->create(mb_path / "clock_source/value") -- cgit v1.2.3