diff options
author | Roman Khassraf <roman@khassraf.at> | 2015-07-20 17:46:52 +0200 |
---|---|---|
committer | Roman Khassraf <roman@khassraf.at> | 2015-07-20 17:46:52 +0200 |
commit | 462fa4522da00d263122cccdc7cab00772376f98 (patch) | |
tree | ad2660ad9c6590027bd492129c282087027a0858 /grc/misc_utils | |
parent | 4dec540b6e997289173b8486e51ef249c9d0fbfc (diff) |
Added block burst_source_qa for unit testing of burst-based blocks
Diffstat (limited to 'grc/misc_utils')
-rw-r--r-- | grc/misc_utils/CMakeLists.txt | 7 | ||||
-rw-r--r-- | grc/misc_utils/gsm_burst_source_qa.xml | 35 |
2 files changed, 39 insertions, 3 deletions
diff --git a/grc/misc_utils/CMakeLists.txt b/grc/misc_utils/CMakeLists.txt index d545692..89c4650 100644 --- a/grc/misc_utils/CMakeLists.txt +++ b/grc/misc_utils/CMakeLists.txt @@ -24,8 +24,9 @@ install(FILES gsm_controlled_const_source_f.xml gsm_message_printer.xml gsm_bursts_printer.xml - gsm_clock_offset_corrector.xml - gsm_tmsi_dumper.xml + gsm_clock_offset_corrector.xml + gsm_tmsi_dumper.xml gsm_burst_sink.xml - gsm_burst_source.xml DESTINATION share/gnuradio/grc/blocks + gsm_burst_source.xml + gsm_burst_source_qa.xml DESTINATION share/gnuradio/grc/blocks ) diff --git a/grc/misc_utils/gsm_burst_source_qa.xml b/grc/misc_utils/gsm_burst_source_qa.xml new file mode 100644 index 0000000..bb04cca --- /dev/null +++ b/grc/misc_utils/gsm_burst_source_qa.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<block> + <name>QA Burst source</name> + <key>gsm_burst_source_qa</key> + <import>import grgsm</import> + <make>grgsm.burst_source_qa($framenumbers, $timeslots, $bursts)</make> + + <param> + <name>Frame numbers</name> + <key>framenumbers</key> + <value>[]</value> + <type>int_vector</type> + <hide>part</hide> + </param> + + <param> + <name>Timeslots</name> + <key>timeslots</key> + <value>[]</value> + <type>int_vector</type> + <hide>part</hide> + </param> + + <param> + <name>Bursts</name> + <key>bursts</key> + <value>[[],]</value> + <type>raw</type> + </param> + + <source> + <name>out</name> + <type>message</type> + </source> +</block> |