aboutsummaryrefslogtreecommitdiffstats
path: root/grc/decoding/gsm_tch_h_decoder.xml
blob: 3936336e2a8e9c395ef7609722a79bbc0b50e34d (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0"?>
<block>
  <name>TCH/H decoder</name>
  <key>gsm_tch_h_decoder</key>
  <import>import grgsm</import>
  <make>grgsm.tch_h_decoder($sub_channel, $multi_rate, $boundary_check)</make>

  <param>
    <name>Sub-channel number</name>
    <key>sub_channel</key>
    <value>0</value>
    <type>int</type>
    <hide>none</hide>
    <option>
      <name>0</name>
      <key>0</key>
    </option>
    <option>
      <name>1</name>
      <key>1</key>
    </option>
  </param>
  <param>
    <name>MultiRate configuration</name>
    <key>multi_rate</key>
    <type>string</type>
  </param>
  <param>
    <name>Voice boundary detection</name>
    <key>boundary_check</key>
    <value>False</value>
    <type>bool</type>
    <option>
      <name>False</name>
      <key>False</key>
    </option>
    <option>
      <name>True</name>
      <key>True</key>
    </option>
  </param>
  <check>$sub_channel() &gt; -1 and $sub_channel() &lt; 2</check>
  <sink>
    <name>bursts</name>
    <type>message</type>
  </sink>
  <source>
    <name>msgs</name>
    <type>message</type>
    <optional>1</optional>
  </source>
  <source>
    <name>voice</name>
    <type>message</type>
    <optional>1</optional>
  </source>

  <doc>
The MultiRate configuration string should contains the hex string from the
MultiRate configuration element from the Assignment Command message.
Example: 28111a40.
See 3GPP TS 44.018 - 10.5.2.21aa MultiRate configuratio

If "Voice boundary detection" is enabled, then only bursts are decoded as voice where

- the framenumber is greater then the framenumber of a received "Connect" or "Connect Acknowlegde" message, and
- the framenumber is less then the framenumber of a "Release" message
  </doc>

</block>