aboutsummaryrefslogtreecommitdiffstats
path: root/mpm
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-03-01 11:58:36 -0800
committerMartin Braun <martin.braun@ettus.com>2018-03-02 13:48:14 -0800
commitd04b6e3a62e2ad213ef3ac8ce80649d1932a6e04 (patch)
tree4b3d8218d1eedbca9d94fddbe4125e76295359d4 /mpm
parent0cb30c8412385982e5af856e7dc90609c0ad9760 (diff)
downloaduhd-d04b6e3a62e2ad213ef3ac8ce80649d1932a6e04.tar.gz
uhd-d04b6e3a62e2ad213ef3ac8ce80649d1932a6e04.tar.bz2
uhd-d04b6e3a62e2ad213ef3ac8ce80649d1932a6e04.zip
mpm: uhd: RPC server reports MPM version, uhd_usrp_probe reads it
Diffstat (limited to 'mpm')
-rw-r--r--mpm/python/usrp_mpm/rpc_server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py
index 4f8058f2f..3dbda4161 100644
--- a/mpm/python/usrp_mpm/rpc_server.py
+++ b/mpm/python/usrp_mpm/rpc_server.py
@@ -385,6 +385,7 @@ class MPMServer(RPCServer):
This is as safe method which can be called without a claim on the device
"""
info = self.periph_manager.get_device_info()
+ info["mpm_version"] = "{}.{}".format(*MPM_COMPAT_NUM)
if self.client_host in net.get_local_ip_addrs():
info["connection"] = "local"
else: