blob: 3936336e2a8e9c395ef7609722a79bbc0b50e34d [file] [log] [blame]
Vasil Velichkov59685522018-05-06 02:13:36 +03001<?xml version="1.0"?>
2<block>
3 <name>TCH/H decoder</name>
4 <key>gsm_tch_h_decoder</key>
5 <import>import grgsm</import>
Vasil Velichkov807e0612019-03-13 20:53:24 +02006 <make>grgsm.tch_h_decoder($sub_channel, $multi_rate, $boundary_check)</make>
Vasil Velichkov59685522018-05-06 02:13:36 +03007
8 <param>
Vasil Velichkov807e0612019-03-13 20:53:24 +02009 <name>Sub-channel number</name>
Vasil Velichkov59685522018-05-06 02:13:36 +030010 <key>sub_channel</key>
11 <value>0</value>
12 <type>int</type>
Vasil Velichkov807e0612019-03-13 20:53:24 +020013 <hide>none</hide>
Vasil Velichkov59685522018-05-06 02:13:36 +030014 <option>
Vasil Velichkov807e0612019-03-13 20:53:24 +020015 <name>0</name>
Vasil Velichkov59685522018-05-06 02:13:36 +030016 <key>0</key>
17 </option>
18 <option>
Vasil Velichkov807e0612019-03-13 20:53:24 +020019 <name>1</name>
Vasil Velichkov59685522018-05-06 02:13:36 +030020 <key>1</key>
21 </option>
22 </param>
23 <param>
Vasil Velichkov807e0612019-03-13 20:53:24 +020024 <name>MultiRate configuration</name>
25 <key>multi_rate</key>
26 <type>string</type>
Vasil Velichkov59685522018-05-06 02:13:36 +030027 </param>
28 <param>
29 <name>Voice boundary detection</name>
30 <key>boundary_check</key>
31 <value>False</value>
32 <type>bool</type>
33 <option>
34 <name>False</name>
35 <key>False</key>
36 </option>
37 <option>
38 <name>True</name>
39 <key>True</key>
40 </option>
41 </param>
42 <check>$sub_channel() &gt; -1 and $sub_channel() &lt; 2</check>
43 <sink>
44 <name>bursts</name>
45 <type>message</type>
46 </sink>
47 <source>
48 <name>msgs</name>
49 <type>message</type>
50 <optional>1</optional>
51 </source>
52 <source>
53 <name>voice</name>
54 <type>message</type>
55 <optional>1</optional>
56 </source>
57
58 <doc>
Vasil Velichkov807e0612019-03-13 20:53:24 +020059The MultiRate configuration string should contains the hex string from the
60MultiRate configuration element from the Assignment Command message.
61Example: 28111a40.
62See 3GPP TS 44.018 - 10.5.2.21aa MultiRate configuratio
63
Vasil Velichkov59685522018-05-06 02:13:36 +030064If "Voice boundary detection" is enabled, then only bursts are decoded as voice where
65
66- the framenumber is greater then the framenumber of a received "Connect" or "Connect Acknowlegde" message, and
67- the framenumber is less then the framenumber of a "Release" message
68 </doc>
69
70</block>