diff options
-rwxr-xr-x | mpm/python/usrp_hwd.py | 3 | ||||
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/n310.py | 4 |
2 files changed, 5 insertions, 2 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) diff --git a/mpm/python/usrp_mpm/periph_manager/n310.py b/mpm/python/usrp_mpm/periph_manager/n310.py index e2d5b261c..ecce1bd77 100644 --- a/mpm/python/usrp_mpm/periph_manager/n310.py +++ b/mpm/python/usrp_mpm/periph_manager/n310.py @@ -452,7 +452,9 @@ class n310(PeriphManagerBase): pids = [0x4242,] mboard_eeprom_addr = "e0005000.i2c" mboard_eeprom_max_len = 256 - mboard_info = {"type": "n3xx"} + mboard_info = {"type": "n3xx", + "product": "n310" + } mboard_max_rev = 3 # 3 == RevD mboard_sensor_callback_map = { 'ref_locked': 'get_ref_lock_sensor', |