aboutsummaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2013-04-28 12:36:03 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2013-04-28 12:36:31 +0200
commita5bdb272402fb012c0a97556cf50a69128e4c573 (patch)
tree5925f5a107df73daa5b4bf5df574098245b14cbb /swig
parent882b6da6ac42afd7381bdb89a6118d829f005a18 (diff)
hackrf: add TX support (wip)
features: - gain control for AMP & VGA - frequency error correction - automatic baseband filter - up to 20M sampling rate limitations: - no DC offset correction implemented (yet) - high sampling rates may not work on slow machines the following TX named gain stages are available: RF: MGA-81563, switchable 0 or 14dB IF: MAX2837 VGA, 0 to 47dB in 1dB steps
Diffstat (limited to 'swig')
-rw-r--r--swig/osmosdr_swig.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/swig/osmosdr_swig.i b/swig/osmosdr_swig.i
index b37752f..2135599 100644
--- a/swig/osmosdr_swig.i
+++ b/swig/osmosdr_swig.i
@@ -13,7 +13,7 @@
%{
#include "osmosdr/osmosdr_device.h"
#include "osmosdr/osmosdr_source_c.h"
-//#include "osmosdr/osmosdr_sink_c.h"
+#include "osmosdr/osmosdr_sink_c.h"
%}
%template(string_vector_t) std::vector<std::string>;
@@ -34,8 +34,8 @@
GR_SWIG_BLOCK_MAGIC(osmosdr,source_c);
%include "osmosdr/osmosdr_source_c.h"
-//GR_SWIG_BLOCK_MAGIC(osmosdr,sink_c);
-//%include "osmosdr/osmosdr_sink_c.h"
+GR_SWIG_BLOCK_MAGIC(osmosdr,sink_c);
+%include "osmosdr/osmosdr_sink_c.h"
#if SWIGGUILE
%scheme %{