From b8f4909d37c2c16c9c5deb09264fccfad973ed7d Mon Sep 17 00:00:00 2001 From: Roman Khassraf Date: Mon, 3 Aug 2015 10:08:18 +0200 Subject: Moved qa utilities to a separate directory --- grc/misc_utils/gsm_burst_sink_qa.xml | 12 ------------ grc/misc_utils/gsm_burst_source_qa.xml | 35 ---------------------------------- grc/misc_utils/gsm_message_sink.xml | 19 ------------------ grc/misc_utils/gsm_message_source.xml | 32 ------------------------------- grc/qa_utils/CMakeLists.txt | 25 ++++++++++++++++++++++++ grc/qa_utils/gsm_burst_sink_qa.xml | 12 ++++++++++++ grc/qa_utils/gsm_burst_source_qa.xml | 35 ++++++++++++++++++++++++++++++++++ grc/qa_utils/gsm_message_sink.xml | 19 ++++++++++++++++++ grc/qa_utils/gsm_message_source.xml | 32 +++++++++++++++++++++++++++++++ 9 files changed, 123 insertions(+), 98 deletions(-) delete mode 100644 grc/misc_utils/gsm_burst_sink_qa.xml delete mode 100644 grc/misc_utils/gsm_burst_source_qa.xml delete mode 100644 grc/misc_utils/gsm_message_sink.xml delete mode 100644 grc/misc_utils/gsm_message_source.xml create mode 100644 grc/qa_utils/CMakeLists.txt create mode 100644 grc/qa_utils/gsm_burst_sink_qa.xml create mode 100644 grc/qa_utils/gsm_burst_source_qa.xml create mode 100644 grc/qa_utils/gsm_message_sink.xml create mode 100644 grc/qa_utils/gsm_message_source.xml (limited to 'grc') diff --git a/grc/misc_utils/gsm_burst_sink_qa.xml b/grc/misc_utils/gsm_burst_sink_qa.xml deleted file mode 100644 index c028da3..0000000 --- a/grc/misc_utils/gsm_burst_sink_qa.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - QA Burst sink - gsm_burst_sink_qa - import grgsm - grgsm.burst_sink_qa() - - - in - message - - diff --git a/grc/misc_utils/gsm_burst_source_qa.xml b/grc/misc_utils/gsm_burst_source_qa.xml deleted file mode 100644 index bb04cca..0000000 --- a/grc/misc_utils/gsm_burst_source_qa.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - QA Burst source - gsm_burst_source_qa - import grgsm - grgsm.burst_source_qa($framenumbers, $timeslots, $bursts) - - - Frame numbers - framenumbers - [] - int_vector - part - - - - Timeslots - timeslots - [] - int_vector - part - - - - Bursts - bursts - [[],] - raw - - - - out - message - - diff --git a/grc/misc_utils/gsm_message_sink.xml b/grc/misc_utils/gsm_message_sink.xml deleted file mode 100644 index e0d6ac0..0000000 --- a/grc/misc_utils/gsm_message_sink.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - Message Sink - gsm_message_sink - import grgsm - grgsm.message_sink() - - - in - message - - - -This block is a message sink for testing purposes. - -The data can be retrieved using function get_messages() - - - diff --git a/grc/misc_utils/gsm_message_source.xml b/grc/misc_utils/gsm_message_source.xml deleted file mode 100644 index ab06f65..0000000 --- a/grc/misc_utils/gsm_message_source.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - Message Source - gsm_message_source - import grgsm - grgsm.message_source($messages) - - - Messages - messages - ["02 04 01 00 00 00 c9 00 00 1d 3c e5 02 00 01 00 15 06 21 00 01 f0 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b", -"02 04 01 00 00 00 ca 00 00 1d 3c e9 02 00 02 00 15 06 21 00 01 f0 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b", -"02 04 01 00 00 00 cb 00 00 1d 3d 0e 01 00 00 00 59 06 1a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff e5 04 00", -"02 04 01 00 00 00 cb 00 00 1d 3d 12 02 00 00 00 15 06 21 00 01 f0 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b"] - raw - true - - - - msgs - message - - - -This block is a basic message source for testing purposes. - -It takes a list of strings as input, where each string -is a whitespace-separated list of hexadecimal values representing the data bytes of a message including the gsmtap header. - -Such strings can be obtained using the message printer with option "Print GSMTap header" - - diff --git a/grc/qa_utils/CMakeLists.txt b/grc/qa_utils/CMakeLists.txt new file mode 100644 index 0000000..43398d4 --- /dev/null +++ b/grc/qa_utils/CMakeLists.txt @@ -0,0 +1,25 @@ +# Copyright 2011,2012 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio 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. +# +# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +install(FILES + gsm_burst_source_qa.xml + gsm_burst_sink_qa.xml + gsm_message_source.xml + gsm_message_sink.xml DESTINATION share/gnuradio/grc/blocks +) diff --git a/grc/qa_utils/gsm_burst_sink_qa.xml b/grc/qa_utils/gsm_burst_sink_qa.xml new file mode 100644 index 0000000..c028da3 --- /dev/null +++ b/grc/qa_utils/gsm_burst_sink_qa.xml @@ -0,0 +1,12 @@ + + + QA Burst sink + gsm_burst_sink_qa + import grgsm + grgsm.burst_sink_qa() + + + in + message + + diff --git a/grc/qa_utils/gsm_burst_source_qa.xml b/grc/qa_utils/gsm_burst_source_qa.xml new file mode 100644 index 0000000..bb04cca --- /dev/null +++ b/grc/qa_utils/gsm_burst_source_qa.xml @@ -0,0 +1,35 @@ + + + QA Burst source + gsm_burst_source_qa + import grgsm + grgsm.burst_source_qa($framenumbers, $timeslots, $bursts) + + + Frame numbers + framenumbers + [] + int_vector + part + + + + Timeslots + timeslots + [] + int_vector + part + + + + Bursts + bursts + [[],] + raw + + + + out + message + + diff --git a/grc/qa_utils/gsm_message_sink.xml b/grc/qa_utils/gsm_message_sink.xml new file mode 100644 index 0000000..e0d6ac0 --- /dev/null +++ b/grc/qa_utils/gsm_message_sink.xml @@ -0,0 +1,19 @@ + + + Message Sink + gsm_message_sink + import grgsm + grgsm.message_sink() + + + in + message + + + +This block is a message sink for testing purposes. + +The data can be retrieved using function get_messages() + + + diff --git a/grc/qa_utils/gsm_message_source.xml b/grc/qa_utils/gsm_message_source.xml new file mode 100644 index 0000000..ab06f65 --- /dev/null +++ b/grc/qa_utils/gsm_message_source.xml @@ -0,0 +1,32 @@ + + + Message Source + gsm_message_source + import grgsm + grgsm.message_source($messages) + + + Messages + messages + ["02 04 01 00 00 00 c9 00 00 1d 3c e5 02 00 01 00 15 06 21 00 01 f0 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b", +"02 04 01 00 00 00 ca 00 00 1d 3c e9 02 00 02 00 15 06 21 00 01 f0 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b", +"02 04 01 00 00 00 cb 00 00 1d 3d 0e 01 00 00 00 59 06 1a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff e5 04 00", +"02 04 01 00 00 00 cb 00 00 1d 3d 12 02 00 00 00 15 06 21 00 01 f0 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b"] + raw + true + + + + msgs + message + + + +This block is a basic message source for testing purposes. + +It takes a list of strings as input, where each string +is a whitespace-separated list of hexadecimal values representing the data bytes of a message including the gsmtap header. + +Such strings can be obtained using the message printer with option "Print GSMTap header" + + -- cgit v1.2.3