aboutsummaryrefslogtreecommitdiffstats
path: root/grc
diff options
context:
space:
mode:
authorAndrew Artyushok <loony.developer@gmail.com>2018-01-30 12:54:07 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2018-12-29 00:52:05 +0100
commitfbcee391070d376b847def931652be12b1b52750 (patch)
tree256a0d5d4f9b6606ecd082cf1443c0e9b5bdcb85 /grc
parent003c8720f5305db6059fe3fd246df0e3e1825ef4 (diff)
Add HR demapping
Diffstat (limited to 'grc')
-rw-r--r--grc/demapping/gsm_tch_f_chans_demapper.xml29
1 files changed, 27 insertions, 2 deletions
diff --git a/grc/demapping/gsm_tch_f_chans_demapper.xml b/grc/demapping/gsm_tch_f_chans_demapper.xml
index 23d77ee..c87776a 100644
--- a/grc/demapping/gsm_tch_f_chans_demapper.xml
+++ b/grc/demapping/gsm_tch_f_chans_demapper.xml
@@ -3,16 +3,41 @@
<name>TCH/F Demapper</name>
<key>gsm_tch_f_chans_demapper</key>
<import>import grgsm</import>
- <make>grgsm.tch_f_chans_demapper($timeslot_nr)</make>
+ <make>grgsm.tch_f_chans_demapper($timeslot_nr, $tch_type, $tch_h_channel)</make>
<param>
- <name>timeslot_nr</name>
+ <name>Timeslot</name>
<key>timeslot_nr</key>
<value>2</value>
<type>int</type>
<hide>part</hide>
</param>
+ <param>
+ <name>TCH Type</name>
+ <key>tch_type</key>
+ <value>0</value>
+ <type>int</type>
+ <hide>part</hide>
+ <option>
+ <name>Full rate</name>
+ <key>0</key>
+ </option>
+ <option>
+ <name>Half rate</name>
+ <key>1</key>
+ </option>
+ </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>