aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_hwd.py
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2017-11-17 11:04:49 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:05:06 -0800
commit23e11875386ebae3651144529bfb4fdee86a5436 (patch)
treea5a838c596387a26c98970d200ed2e4e9cd5d32b /mpm/python/usrp_hwd.py
parent07ef7e3e61e9cd38a3155468aef4a3d43a81b6b9 (diff)
downloaduhd-23e11875386ebae3651144529bfb4fdee86a5436.tar.gz
uhd-23e11875386ebae3651144529bfb4fdee86a5436.tar.bz2
uhd-23e11875386ebae3651144529bfb4fdee86a5436.zip
mpm: discovery returns 'product' information
- Added 'product' information to N310 - MPM discovery checks for 'product' field
Diffstat (limited to 'mpm/python/usrp_hwd.py')
-rwxr-xr-xmpm/python/usrp_hwd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpm/python/usrp_hwd.py b/mpm/python/usrp_hwd.py
index 4149ff40d..bc8b1e749 100755
--- a/mpm/python/usrp_hwd.py
+++ b/mpm/python/usrp_hwd.py
@@ -139,7 +139,8 @@ def main():
mgr = periph_manager(args)
discovery_info = {
"type": mgr.get_device_info().get("type", "n/a"),
- "serial": mgr.get_device_info().get("serial", "n/a")
+ "serial": mgr.get_device_info().get("serial", "n/a"),
+ "product": mgr.get_device_info().get("product", "n/a")
}
if args.init_only:
mgr.init(args.default_args)