48 lines
981 B
XML
48 lines
981 B
XML
<?xml version="1.0"?>
|
|
<block>
|
|
<name>TCH/H Demapper</name>
|
|
<key>gsm_tch_h_chans_demapper</key>
|
|
<import>import grgsm</import>
|
|
<make>grgsm.tch_h_chans_demapper($timeslot_nr, $tch_h_channel)</make>
|
|
|
|
<param>
|
|
<name>Timeslot</name>
|
|
<key>timeslot_nr</key>
|
|
<value>2</value>
|
|
<type>int</type>
|
|
<hide>none</hide>
|
|
</param>
|
|
|
|
<param>
|
|
<name>Sub-channel number</name>
|
|
<key>tch_h_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>
|
|
<check>$tch_h_channel() > -1 and $tch_h_channel() < 2</check>
|
|
|
|
<sink>
|
|
<name>bursts</name>
|
|
<type>message</type>
|
|
</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>
|