aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/mpmutils.py
Commit message (Collapse)AuthorAgeFilesLines
* mpm: utils: Fix to_native_str for non-string typesMartin Braun2018-01-111-2/+5
| | | | | Before, you couldn't use to_native_str for objects such as integers (i.e., anything that was not a bytes-like object).
* mpm: utils: Add assert_compat_number functionMartin Braun2018-01-081-0/+59
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* mpm: utils: Add string conversion utilitiesMartin Braun2017-12-221-0/+42
| | | | | | | Adds conversions for: - Any-to-binary - Any-to-UTF8 - Any-to-native
* mpm: Add mpmutils module, includes poll_with_timeoutMartin Braun2017-12-221-0/+38
This is a convenience function for polling with sleeps and timeouts.