aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
Commit message (Collapse)AuthorAgeFilesLines
* examples: De-boostify rx_samples_to_fileMartin Braun2018-04-181-47/+93
| | | | | Removes boost::bind and all Boost time types from this example. Re-enables compatibility with Boost 1.67.
* examples: Remove superfluous sleepMartin Braun2018-04-181-2/+0
|
* uhd: update settling time to double in txrx_loopback_to_file exampleDaniel Jepson2018-04-101-4/+4
|
* uhd: increase tx buffer fill time for txrx_loopback_to_file exampleDaniel Jepson2018-04-101-1/+1
| | | | | The previous 0.1s fill time occasionally prevented rx from starting on time when settling is set to the same 0.1s time. It was increased to 0.5s.
* uhd: fix subdevice selection order in txrx_loopback_to_file exampleDaniel Jepson2018-04-101-4/+4
|
* example: Refactor gpio.cppMartin Braun2018-03-301-12/+22
| | | | | | Minor changes: - Remove some Boost usage - Minor formatting changes
* examples: Update benchmark_rate (more stats, timestamps)Martin Braun2018-03-141-57/+111
| | | | | | | | - Messages are all timestamped, enables better understanding of the output log - Less usage of Boost - More stats (differentiate between RX and TX timeouts and sequence errors)
* uhd: Moved get_system_time outside of public APIMartin Braun2018-03-051-3/+6
| | | | | | | uhd::get_system_time() is an abstracted way of reading back a time, and is not UHD-specific. As such, there's no reason to keep it in the public part of the API where we're contractually obligated not to touch it. Instead, moving it to the internal API space.
* examples: Fix some minor compiler warningsMartin Braun2018-02-197-17/+38
| | | | All warnings reported by MSVC. Mostly related to narrowing conversions.
* uhd: Update license headersMartin Braun2018-02-1930-28/+58
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* examples: replace `boost::format%(a,b)` by `(boost::format%a%b)`Marcus Müller2018-02-191-1/+1
| | | | | | | | The former compiles to evaluating `a`, then throwing away the result, evaluating `b`, then using that to fill in the first placeholder in `format`. And that is wrong. Pointed to this by Clang++'s "unused result" warning.
* examples: Fix bandwidth unit (MHz vs. Hz) in tx_samples_from_fileMartin Braun2018-01-151-2/+6
|
* examples: Add example to query and list all sensorsMartin Braun2018-01-122-0/+127
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* Move all license headers to SPDX format.Martin Braun2017-12-2228-336/+28
|
* Fix build with Boost 1.66ilovezfs2017-12-191-2/+2
| | | | Thanks to FX Coudert for suggesting this fix.
* Merge branch 'maint'Martin Braun2017-07-171-8/+71
|\
| * examples: Improved output for latency_testMartin Braun2017-06-301-8/+71
| |
* | examples/c-api: Fix invalid free of device_argssugandhagupta2017-06-292-8/+10
| | | | | | | | | | | | | | | | | | One does not simply free() stack / automatic variables. Please `man 3 strdup()`. Signed-off-by: Sugandha Gupta <sugandha.gupta@ettus.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* | utils: add set_thread_name API call, move thread_priority to threadAndrej Rode2017-06-2922-25/+28
| |
* | uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-296-22/+18
| |
* | Merge branch 'maint'Martin Braun2017-06-023-9/+9
|\|
| * Examples: Fix ascii typosnatetemple2017-05-203-9/+9
| |
* | examples: Added channel param for samps to/from file exampleAshish Chaudhari2017-05-242-13/+24
| | | | | | | | - Also, fixed an issue with the --repeat option in tx_samples_from_file
* | examples: Added real streaming modesMartin Braun2017-05-151-5/+12
| |
* | Merge branch 'maint'Martin Braun2017-05-032-4/+7
|\|
| * examples: fix device_args parsing in tx_samples_cAndrej Rode2017-04-251-2/+5
| |
| * uhd: cast thread_group.create_thread() return value to void to avoid memory leakAndrej Rode2017-04-251-2/+2
| |
* | Merge branch 'maint'Martin Braun2017-04-131-29/+4
|\|
| * examples: use next_pps in test_clock_synchAndrej Rode2017-04-121-29/+4
| |
* | Merge branch 'maint'Martin Braun2017-03-242-0/+284
|\|
| * examples: Revised frequency hopping example for best practicesLogan Fagg2017-03-211-126/+114
| |
| * examples: Created TwinRX frequency hopping examplenate.temple2017-03-212-0/+296
| |
* | Merge branch 'maint'Martin Braun2017-03-012-5/+6
|\|
| * examples: Replaced throw with exit() in sync_to_gpsMartin Braun2017-02-271-1/+2
| |
| * examples: Added some more error strings to test_messagesMartin Braun2017-02-271-4/+4
| |
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-104-11/+9
| | | | | | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* | init_usrp: add c++11 flags to compiler if availableAndrej Rode2017-02-101-0/+19
|/
* examples: Fix and cleanup test messagesPaul David2017-02-071-4/+14
|
* GPIO: Set CTRL register before OUT register in GPIO example.michael-west2016-12-091-3/+3
|
* fixup! Remove all boost:: namespace prefix for uint32_t, int32_t etc. ↵Martin Braun2016-11-153-19/+19
| | | | | | (fixed-width types) Now also removes the namespaces in examples/
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-1/+1
| | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
* Fix warning in rx_samples_c.c.Philip Balister2016-10-131-2/+2
| | | | | | | time_t is not guaranteed to be printable as in int type. Use difftime to portably convert time_t to float and print result. Signed-off-by: Philip Balister <philip@opensdr.com>
* Fix warning in tx_samples_c.c.Philip Balister2016-10-131-1/+1
| | | | | | | Function needs pointer to size_t type. I suspect using uint64_t could lead to trouble on a 32 bit machine. Signed-off-by: Philip Balister <philip@opensdr.com>
* examples: Fixed test_messagesMartin Braun2016-09-281-7/+8
|
* examples: Fixed check for setting time on PPS vs. nowMartin Braun2016-09-281-1/+6
|
* Merge branch 'UHD-3.9.LTS' into maintMartin Braun2016-09-022-0/+192
|\ | | | | | | | | | | | | | | This provides the GPS fixes. Conflicts: host/CMakeLists.txt tools/debs/upload_debs.sh
| * Add example to synchronize USRPs to GPS timemichael-west2016-09-022-0/+192
| |
* | examples: Added TX and RX channels args in benchmark_rateDerek Kozel2016-08-291-13/+40
| |
* | examples: tx_waveforms was always checking lo_lock on channel 0, regardless ↵Martin Braun2016-08-111-5/+7
| | | | | | | | of channel used
* | Merge branch 'maint'Martin Braun2016-08-031-9/+9
|\|