aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/property_tree_python.cpp
Commit message (Collapse)AuthorAgeFilesLines
* python: Improve access to device_addr_tMartin Braun2020-11-231-0/+5
| | | | | | | | This makes two changes: - Add device_addr_t as a type that the Python property tree access can handle - Add a to_dict() call to device_addr_t (in Python) that will return a regular dictionary from a device_addr_t for a more Pythonic access.
* python: Add access to the property_tree from PythonMartin Braun2020-10-161-0/+61
Example: >>> usrp = uhd.usrp.multi_usrp("") >>> tree = usrp.get_tree() >>> print(tree.access_int("/name").get())