diff options
author | Brent Stapleton <brent.stapleton@ettus.com> | 2017-11-17 11:04:49 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:05:06 -0800 |
commit | 23e11875386ebae3651144529bfb4fdee86a5436 (patch) | |
tree | a5a838c596387a26c98970d200ed2e4e9cd5d32b /mpm/python/usrp_hwd.py | |
parent | 07ef7e3e61e9cd38a3155468aef4a3d43a81b6b9 (diff) | |
download | uhd-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-x | mpm/python/usrp_hwd.py | 3 |
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) |