aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_c.cpp
Commit message (Collapse)AuthorAgeFilesLines
* C API: Add support for Tx LO controlMartin Braun2018-12-141-0/+89
| | | | | The Rx LO control was always there, but the Tx LO control was not exposed into the C API.
* uhd: Remove usage of time_t (except when required)Martin Braun2018-08-201-6/+6
| | | | | | | | | | The C/C++ standards don't define what time_t is, only that it is arithmetic (and real for C11, and integral for C++). It should not be used in portable software and is only used as the return value for some libc calls. A common definition for time_t is int64_t, so we'll switch to that permanently in our own APIs. System APIs will of course stick with time_t.
* C API: Fix incorrectly declared lockMartin Braun2018-07-231-1/+1
|
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* C API: Properly free streamers to support streamer re-creation.michael-west2018-02-121-24/+14
|
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* C API: Better error handling in uhd_usrp_get_?x_streamMartin Braun2017-09-281-2/+4
| | | | | In uhd_usrp_get_rx_stream and uhd_usrp_get_tx_stream, an error will now be propagated into the streamer handle.
* C API: Make uhd_rx_streamer_last_error use SAFE_CCarl Reinke2017-09-281-1/+1
| | | | | | | uhd_tx_streamer_last_error and uhd_usrp_last_error use UHD_SAFE_C and so uhd_rx_streamer_last_error should as well in order to be consistent. Currently using UHD_SAFE_C_SAVE_ERROR.
* C API: Remove API calls that don't map to C++ callsMartin Braun2017-08-071-20/+0
| | | | | Specifically, remove set_tx_dc_offset() and set_tx_iq_balance() calls that require doubles, and were given bools.
* Merge branch 'maint'Martin Braun2017-03-011-5/+17
|\
| * C API: Implement set_time_source_out and fix typoHendrik Vogt2017-02-271-1/+11
| |
| * C API: Added missing fields to USRP infoMartin Braun2017-02-201-0/+2
| |
| * uhd: Fix C API LO controlsMartin Braun2017-02-201-4/+4
| |
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-2/+1
|/ | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* C API: wrapped multi_usrp functions for interacting with LO'sNicholas Corgan2016-07-191-1/+90
|
* C API: added soft register APINicholas Corgan2015-08-141-0/+48
|
* C API cleanup, feature additionsNicholas Corgan2015-08-121-202/+44
| | | | | | * Cleaned up usage of handles vs. handle pointers * Store global string for last error thrown * Removed uhd::device_addr_t handle, added std::vector<std::string> handle
* C API: feature additions, bugfixesNicholas Corgan2015-08-071-0/+14
| | | | | | * Wrapped uhd::device_addrs_t, added find functions for multi_usrp, multi_usrp_clock * Replaced getopt with public domain implementation * Minor bugfixes
* uhd: C API wrapperNicholas Corgan2015-08-061-0/+1509
* multi_usrp, multi_usrp_clock, and associated classes accessible through C * Added Doxygen documentation explaining structure and API * Simple RX and TX streaming examples * Unit tests for different parts of C interface and C++ error conversion