diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-11-01 14:53:16 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-04 09:57:49 -0800 |
commit | 00c3dc29c227b11c86ce3fc1854858e999f5cb76 (patch) | |
tree | 489fbab8346d0cf3a0d3049cd9610ceccc9e258c /host/docs | |
parent | 0014f5ba2947448703c9ba0afb1c9f1084f1fc50 (diff) | |
download | uhd-00c3dc29c227b11c86ce3fc1854858e999f5cb76.tar.gz uhd-00c3dc29c227b11c86ce3fc1854858e999f5cb76.tar.bz2 uhd-00c3dc29c227b11c86ce3fc1854858e999f5cb76.zip |
python: Make multi_usrp::get_*_usrp_info() return a Python dict
By using the conversion ability to std::map<>, we can make the Python
versions of get_?x_usrp_info() return a dict in Python.
Sample Python session:
>>> import uhd
>>> U = uhd.usrp.MultiUsrp(args)
>>> U.get_usrp_rx_info()
{'mboard_id': 'B200', 'rx_subdev_name': 'FE-RX2', ...}
Diffstat (limited to 'host/docs')
0 files changed, 0 insertions, 0 deletions