aboutsummaryrefslogtreecommitdiffstats
path: root/grc/demapping
diff options
context:
space:
mode:
authorAndrew Artyushok <loony.developer@gmail.com>2018-01-30 12:54:07 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2019-07-18 10:31:26 +0200
commit3e2f883ba06f6013589b4a571aeed30af7dd1719 (patch)
treeb9c0a147b4d9cac7bdc01bb97332f087499049bb /grc/demapping
parent7fb1738cd896c2f8f5c8dc1d0344827fe1dd6279 (diff)
Add HR demapping
Diffstat (limited to 'grc/demapping')
-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>