diff options
Diffstat (limited to 'mpm')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/base.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py index 9e9ed3242..6031d6921 100644 --- a/mpm/python/usrp_mpm/periph_manager/base.py +++ b/mpm/python/usrp_mpm/periph_manager/base.py @@ -165,6 +165,11 @@ class PeriphManagerBase(object): except ImportError: version_string = "" mboard_info["mpm_sw_version"] = version_string + + for i,dboard_info in enumerate(dboard_infos): + mboard_info["dboard_{}_pid".format(i)] = str(dboard_info["pid"]) + mboard_info["dboard_{}_serial".format(i)] = dboard_info["eeprom_md"]["serial"] + return mboard_info @staticmethod |