aboutsummaryrefslogtreecommitdiffstats
path: root/grc/demapping/gsm_tch_f_chans_demapper.xml
blob: c87776a9fa060796cdab4f0c6cdc9dafa65ac2e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0"?>
<block>
  <name>TCH/F Demapper</name>
  <key>gsm_tch_f_chans_demapper</key>
  <import>import grgsm</import>
  <make>grgsm.tch_f_chans_demapper($timeslot_nr, $tch_type, $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 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>
    <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>