Commit Graph

10 Commits

Author SHA1 Message Date
Dimitri Stolnikov 0b76b7a21b uhd: pass through only the requested number of channels
B210 USRP appears as a 2-channel device by default. We prevent weird
application behavior by restricting the number of connected channels to
the value given via nchan= argument (1 by default).
2014-05-03 18:21:18 +02:00
Dimitri Stolnikov 79231f6173 uhd: print to stderr instead of stdout (library convention) 2014-05-03 18:17:28 +02:00
Dimitri Stolnikov e6701ca621 uhd: catch exceptions from dc offset & iq imbalance setters
since dc offset / iq imbalance is not implemented for recent USRPs this
might cause undesired behavior in GRC. As a workaround we do not pass
them to the caller but print them to the stderr.
2014-05-03 18:15:22 +02:00
Dimitri Stolnikov 376884f6a0 uhd: use universal_time() for "sync=unknown" 2014-05-03 18:04:50 +02:00
Marcus D. Leech 3764dcb8af uhd: add options for wire-format, time-synchronization, and refclock/PPS
This patch-set adds substantial new support for UHD features relating to
wire-format, time-synchronization, and refclock/PPS.

It is intended for both sources and sinks. The get-precision-time
function I simply made static and copied into both source and sink
files. It really belongs in osmosdr utiltiies, it uses Boost to hide the
Windows-vs-Unix-like precision time "goop".
2014-01-26 17:32:33 +01:00
Dimitri Stolnikov e394dd3922 uhd: improve device discovery 2013-10-25 23:46:39 +02:00
Dimitri Stolnikov e42752826c uhd: implement frequency correction 2013-06-10 21:21:14 +02:00
Dimitri Stolnikov 6f04a9b03a uhd: implement dc correction 2013-06-09 23:13:12 +02:00
Dimitri Stolnikov f70550fe40 uhd: implement bandwidth controls 2013-06-08 22:16:05 +02:00
Dimitri Stolnikov af819dfa4a uhd: add TX support 2013-05-07 22:46:07 +02:00