Jon Szymaniak
bf9f8a62a4
host: Moved device config helpers to host/common
...
People may find these useful when developing their own tools or
contributions to the bladeRF codebase.
2015-06-21 23:07:40 -04:00
Jon Szymaniak
0789ae9772
libbladeRF_test: Moved wait_for_timestamps() to test_common.c
...
This will be needed by the scheduled retune test.
2015-06-18 18:34:29 -04:00
Jon Szymaniak
8b7a8a3f64
libbladeRF_test: Moved random frequency routine to common test file
2015-06-18 18:34:28 -04:00
Jon Szymaniak
d50fd8dd42
libbladeRF_test: Moved average duration function to common test file
2015-06-18 18:34:28 -04:00
Jon Szymaniak
fd4c464fb1
libbladeRF-test: Fixed help text for gain settings
2015-04-18 13:11:54 -04:00
Jon Szymaniak
730acd80b0
libbladeRF-test: Gains are signed ints, so use str2int()
...
This is required for the txvga1 gain, which is [-35, -4].
str2int() is used for other gains as well, just for consistency
with their types.
2015-04-18 12:24:56 -04:00
Jon Szymaniak
560798f93d
libbladeRF_test: Fixed erroneous/missing assignments in test_common.c
2014-11-18 18:22:46 -05:00
Jon Szymaniak
7218273716
libbladeRF_test: Added common cmdline arg handling and device config
...
Most of the libbladeRF_test items contain their own command line
argument handling, yielding repeated code and inconsistent invocations.
This commit introduces common command-line argument handling and device
configuration for the most used device parameters.
Future patches will migrate the tests over to using this functionality.
New tests should use this immediately.
2014-11-18 17:09:11 -05:00