Commit graph

14 commits

Author SHA1 Message Date
Martin Braun
4f948e2c8b Move all license headers to SPDX format. 2017-12-22 10:45:51 -08:00
Martin Braun
59736a5bf5 C API: Better error handling in uhd_usrp_get_?x_stream
In uhd_usrp_get_rx_stream and uhd_usrp_get_tx_stream, an error will now
be propagated into the streamer handle.
2017-09-28 17:50:23 -07:00
Carl Reinke
cd30ecf6e2 C API: Make uhd_rx_streamer_last_error use SAFE_C
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.
2017-09-28 17:50:23 -07:00
Martin Braun
b5e43a27ab C API: Remove API calls that don't map to C++ calls
Specifically, remove set_tx_dc_offset() and set_tx_iq_balance() calls
that require doubles, and were given bools.
2017-08-07 16:09:50 -07:00
Martin Braun
da26a3e34e Merge branch 'maint' 2017-03-01 16:39:08 -08:00
Hendrik Vogt
f853524919 C API: Implement set_time_source_out and fix typo 2017-02-27 16:31:26 -08:00
Martin Braun
f3f9d95476 C API: Added missing fields to USRP info 2017-02-20 14:58:33 -08:00
Martin Braun
fd77273706 uhd: Fix C API LO controls 2017-02-20 14:57:23 -08:00
Andrej Rode
26cc20847c uhd: replace BOOST_FOREACH with C++11 range-based for loop
Note: This is the first commit that uses for-range, and range-based
for-loops are now usable for UHD development.
2017-02-10 16:44:33 -08:00
Nicholas Corgan
446e922d88 C API: wrapped multi_usrp functions for interacting with LO's 2016-07-19 09:28:10 -07:00
Nicholas Corgan
8d6b63e1e8 C API: added soft register API 2015-08-14 12:30:53 -07:00
Nicholas Corgan
bc9dd05988 C API cleanup, feature additions
* 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
2015-08-12 12:19:20 -07:00
Nicholas Corgan
f1ebf68829 C API: feature additions, bugfixes
* Wrapped uhd::device_addrs_t, added find functions for multi_usrp, multi_usrp_clock
* Replaced getopt with public domain implementation
* Minor bugfixes
2015-08-07 11:23:59 -07:00
Nicholas Corgan
30f87afcba uhd: C API wrapper
* 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
2015-08-06 10:42:23 -07:00