diff options
author | Piotr Krysik <ptrkrysik@gmail.com> | 2016-08-16 16:05:23 +0200 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@gmail.com> | 2016-08-16 16:05:23 +0200 |
commit | 2bb54c8fcd55a1f80680ba11b788ecd5e00ef066 (patch) | |
tree | c0445f622cdf4682b211609dacc8eb2fb7fcb57e /python | |
parent | 9e7b25c881fdf3413cc92e6e32692552c7a0931c (diff) |
Added uplink/downlink splitter
Diffstat (limited to 'python')
-rw-r--r-- | python/CMakeLists.txt | 1 | ||||
-rwxr-xr-x | python/qa_uplink_downlink_filter.py | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 89157ed..670391e 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -64,3 +64,4 @@ GR_ADD_TEST(qa_dummy_burst_filter ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DI #GR_ADD_TEST(qa_arfcn ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_arfcn.py) #GR_ADD_TEST(qa_msg_to_tag ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_msg_to_tag.py) #GR_ADD_TEST(qa_controlled_fractional_resampler_cc ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_controlled_fractional_resampler_cc.py) +GR_ADD_TEST(qa_uplink_downlink_filter ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_uplink_downlink_filter.py) diff --git a/python/qa_uplink_downlink_filter.py b/python/qa_uplink_downlink_filter.py new file mode 100755 index 0000000..cd310bf --- /dev/null +++ b/python/qa_uplink_downlink_filter.py @@ -0,0 +1,43 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# @file +# @author Piotr Krysik <ptrkrysik@gmail.com> +# @section LICENSE +# +# Gr-gsm is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# Gr-gsm is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with gr-gsm; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# +# + +from gnuradio import gr, gr_unittest +from gnuradio import blocks +import grgsm_swig as grgsm + +class qa_uplink_downlink_filter (gr_unittest.TestCase): + + def setUp (self): + self.tb = gr.top_block () + + def tearDown (self): + self.tb = None + + def test_001_t (self): + # set up fg + self.tb.run () + # check data + + +if __name__ == '__main__': + gr_unittest.run(qa_uplink_downlink_filter, "qa_uplink_downlink_filter.xml") |