aboutsummaryrefslogtreecommitdiffstats
path: root/grc/demapping/gsm_tch_h_chans_demapper.xml
diff options
context:
space:
mode:
Diffstat (limited to 'grc/demapping/gsm_tch_h_chans_demapper.xml')
-rw-r--r--grc/demapping/gsm_tch_h_chans_demapper.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/grc/demapping/gsm_tch_h_chans_demapper.xml b/grc/demapping/gsm_tch_h_chans_demapper.xml
new file mode 100644
index 0000000..f2bd67f
--- /dev/null
+++ b/grc/demapping/gsm_tch_h_chans_demapper.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<block>
+ <name>TCH/H Demapper</name>
+ <key>gsm_tch_h_chans_demapper</key>
+ <import>import grgsm</import>
+ <make>grgsm.tch_h_chans_demapper($timeslot_nr, $tch_h_channel)</make>
+
+ <param>
+ <name>Timeslot</name>
+ <key>timeslot_nr</key>
+ <value>2</value>
+ <type>int</type>
+ <hide>part</hide>
+ </param>
+
+ <param>
+ <name>TCH/H Channel</name>
+ <key>tch_h_channel</key>
+ <value>0</value>
+ <type>int</type>
+ <hide>#if $tch_type() == 0 then 'all' else 'none'#</hide>
+ </param>
+ <check>$tch_h_channel() &gt; -1 and $tch_h_channel() &lt; 2</check>
+
+ <sink>
+ <name>bursts</name>
+ <type>message</type>
+ <optional>1</optional>
+ </sink>
+ <source>
+ <name>tch_bursts</name>
+ <type>message</type>
+ <optional>1</optional>
+ </source>
+ <source>
+ <name>acch_bursts</name>
+ <type>message</type>
+ <optional>1</optional>
+ </source>
+</block>