summaryrefslogtreecommitdiff
path: root/gr-iio/python/iio/bindings/pluto_sink_python.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-iio/python/iio/bindings/pluto_sink_python.cc')
-rw-r--r--gr-iio/python/iio/bindings/pluto_sink_python.cc51
1 files changed, 0 insertions, 51 deletions
diff --git a/gr-iio/python/iio/bindings/pluto_sink_python.cc b/gr-iio/python/iio/bindings/pluto_sink_python.cc
deleted file mode 100644
index 2d1a2fa63d..0000000000
--- a/gr-iio/python/iio/bindings/pluto_sink_python.cc
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright 2020 Free Software Foundation, Inc.
- *
- * This file is part of GNU Radio
- *
- * SPDX-License-Identifier: GPL-3.0-or-later
- *
- */
-
-/***********************************************************************************/
-/* This file is automatically generated using bindtool and can be manually edited */
-/* The following lines can be configured to regenerate this file during cmake */
-/* If manual edits are made, the following tags should be modified accordingly. */
-/* BINDTOOL_GEN_AUTOMATIC(0) */
-/* BINDTOOL_USE_PYGCCXML(0) */
-/* BINDTOOL_HEADER_FILE(pluto_sink.h) */
-/* BINDTOOL_HEADER_FILE_HASH(4315d0abebcaff67b262aee785fb2c49) */
-/***********************************************************************************/
-
-#include <pybind11/complex.h>
-#include <pybind11/pybind11.h>
-#include <pybind11/stl.h>
-
-namespace py = pybind11;
-
-#include <gnuradio/iio/pluto_sink.h>
-// pydoc.h is automatically generated in the build directory
-#include <pluto_sink_pydoc.h>
-
-void bind_pluto_sink(py::module& m)
-{
-
- using pluto_sink = gr::iio::pluto_sink;
-
- py::class_<pluto_sink, gr::hier_block2, gr::basic_block, std::shared_ptr<pluto_sink>>(
- m, "pluto_sink", D(pluto_sink))
-
- .def(py::init(&pluto_sink::make),
- py::arg("uri"),
- py::arg("buffer_size"),
- py::arg("cyclic"),
- D(pluto_sink, make))
-
- .def("set_bandwidth", &pluto_sink::set_bandwidth, py::arg("longbandwidth"))
- .def("set_frequency", &pluto_sink::set_frequency, py::arg("longfrequency"))
- .def("set_samplerate", &pluto_sink::set_samplerate, py::arg("samplerate"))
- .def("set_attenuation", &pluto_sink::set_attenuation, py::arg("attenuation"))
- .def("set_filter_params", &pluto_sink::set_filter_params)
- .def(
- "set_len_tag_key", &pluto_sink::set_len_tag_key, py::arg("len_tag_key") = "");
-}