aboutsummaryrefslogtreecommitdiffstats
path: root/grc
diff options
context:
space:
mode:
authorrpp <red@nostack.net>2015-10-01 10:44:34 +0200
committerrpp <red@nostack.net>2015-10-05 09:57:03 +0200
commita49a4d2b966878654c4239f27516efb59ffe1845 (patch)
tree0f0b936f5e1af8cefd9861a0544e7ea0f4a07d23 /grc
parent06ecb02d5e26b79d6ce4c03eb7c09670df792fc8 (diff)
Implemented multiband channelizer as gr-gsm block.
Diffstat (limited to 'grc')
-rw-r--r--grc/gsm_block_tree.xml1
-rw-r--r--grc/receiver/CMakeLists.txt1
-rw-r--r--grc/receiver/gsm_wideband_input.xml78
3 files changed, 80 insertions, 0 deletions
diff --git a/grc/gsm_block_tree.xml b/grc/gsm_block_tree.xml
index 9951e71..f49f055 100644
--- a/grc/gsm_block_tree.xml
+++ b/grc/gsm_block_tree.xml
@@ -19,6 +19,7 @@
<block>gsm_fcch_detector</block>
<block>gsm_clock_offset_control</block>
<block>gsm_input</block>
+ <block>gsm_wideband_input</block>
</cat>
<cat>
<name>Logical channels demapping</name>
diff --git a/grc/receiver/CMakeLists.txt b/grc/receiver/CMakeLists.txt
index bcef03d..af7042d 100644
--- a/grc/receiver/CMakeLists.txt
+++ b/grc/receiver/CMakeLists.txt
@@ -19,6 +19,7 @@
install(FILES
gsm_input.xml
+ gsm_wideband_input.xml
gsm_receiver.xml
gsm_fcch_burst_tagger.xml
gsm_sch_detector.xml
diff --git a/grc/receiver/gsm_wideband_input.xml b/grc/receiver/gsm_wideband_input.xml
new file mode 100644
index 0000000..f2f9520
--- /dev/null
+++ b/grc/receiver/gsm_wideband_input.xml
@@ -0,0 +1,78 @@
+<block>
+ <name>GSM wideband input adaptor</name>
+ <key>gsm_wideband_input</key>
+ <category></category>
+ <import>import grgsm</import>
+ <make>grgsm.gsm_wideband_input(
+ ppm=$ppm,
+ osr=$osr,
+ fc=$fc,
+ samp_rate_in=$samp_rate_in,
+ ca=$cell_allocation,
+)</make>
+ <callback>set_ppm($ppm)</callback>
+ <callback>set_osr($osr)</callback>
+ <callback>set_fc($fc)</callback>
+ <callback>set_samp_rate_in($samp_rate_in)</callback>
+ <param>
+ <name>ppm</name>
+ <key>ppm</key>
+ <value>ppm</value>
+ <type>float</type>
+ <hide>part</hide>
+ </param>
+ <param>
+ <name>OSR</name>
+ <key>osr</key>
+ <value>osr</value>
+ <type>int</type>
+ <hide>part</hide>
+ </param>
+ <param>
+ <name>fc</name>
+ <key>fc</key>
+ <value>fc</value>
+ <type>float</type>
+ <hide>part</hide>
+ </param>
+ <param>
+ <name>Cell allocation</name>
+ <key>cell_allocation</key>
+ <value>[]</value>
+ <type>float_vector</type>
+ <hide>part</hide>
+ </param>
+ <param>
+ <name>samp_rate_in</name>
+ <key>samp_rate_in</key>
+ <value>samp_rate_in</value>
+ <type>float</type>
+ <hide>part</hide>
+ </param>
+ <param>
+ <name>Num Streams</name>
+ <key>num_streams</key>
+ <value>1</value>
+ <type>int</type>
+ <hide>part</hide>
+ </param>
+ <check>$num_streams &gt;= 0</check>
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ <vlen>1</vlen>
+ </sink>
+ <sink>
+ <name>ppm_in</name>
+ <type>message</type>
+ <optional>True</optional>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ <vlen>1</vlen>
+ <nports>$num_streams</nports>
+ </source>
+ <doc>Piotr Krysik
+Adaptor of input stream for the GSM receiver. Contains frequency offset corrector and resampler to correct carrier frequency and sampling frequency offsets. At the end it has LP filter for filtering of a GSM channel.</doc>
+</block>