aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/discovery.py
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2021-05-14 11:15:34 -0400
committerAaron Rossetto <aaron.rossetto@ni.com>2021-05-20 14:57:47 -0500
commit93bed45f48c78863428c82cf242f5a147fba699c (patch)
tree3eb79c057349d5b30c41605969b8dbe05e9a980b /mpm/python/usrp_mpm/discovery.py
parent97bd72438ca31a1e482e8b345bd5b697870fd907 (diff)
downloaduhd-93bed45f48c78863428c82cf242f5a147fba699c.tar.gz
uhd-93bed45f48c78863428c82cf242f5a147fba699c.tar.bz2
uhd-93bed45f48c78863428c82cf242f5a147fba699c.zip
mpm: add FPGA type to the info returned during discovery
Also update this info upon server reset, such as when a new FPGA image is loaded
Diffstat (limited to 'mpm/python/usrp_mpm/discovery.py')
-rw-r--r--mpm/python/usrp_mpm/discovery.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/discovery.py b/mpm/python/usrp_mpm/discovery.py
index a225bd1db..91fb8f590 100644
--- a/mpm/python/usrp_mpm/discovery.py
+++ b/mpm/python/usrp_mpm/discovery.py
@@ -55,6 +55,7 @@ def _discovery_process(state, discovery_addr):
[b"type="+state.dev_type.value] + \
[b"product="+state.dev_product.value] + \
[b"serial="+state.dev_serial.value] + \
+ [b"fpga="+state.dev_fpga_type.value] + \
[RESPONSE_CLAIMED_KEY+to_binary_str("={}".format(state.claim_status.value))]
)