Vasil Velichkov | 63e568d | 2018-05-07 15:55:39 +0300 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <block> |
| 3 | <name>TCH/H Demapper</name> |
| 4 | <key>gsm_tch_h_chans_demapper</key> |
| 5 | <import>import grgsm</import> |
| 6 | <make>grgsm.tch_h_chans_demapper($timeslot_nr, $tch_h_channel)</make> |
| 7 | |
| 8 | <param> |
| 9 | <name>Timeslot</name> |
| 10 | <key>timeslot_nr</key> |
| 11 | <value>2</value> |
| 12 | <type>int</type> |
| 13 | <hide>part</hide> |
| 14 | </param> |
| 15 | |
| 16 | <param> |
| 17 | <name>TCH/H Channel</name> |
| 18 | <key>tch_h_channel</key> |
| 19 | <value>0</value> |
| 20 | <type>int</type> |
| 21 | <hide>#if $tch_type() == 0 then 'all' else 'none'#</hide> |
| 22 | </param> |
| 23 | <check>$tch_h_channel() > -1 and $tch_h_channel() < 2</check> |
| 24 | |
| 25 | <sink> |
| 26 | <name>bursts</name> |
| 27 | <type>message</type> |
| 28 | <optional>1</optional> |
| 29 | </sink> |
| 30 | <source> |
| 31 | <name>tch_bursts</name> |
| 32 | <type>message</type> |
| 33 | <optional>1</optional> |
| 34 | </source> |
| 35 | <source> |
| 36 | <name>acch_bursts</name> |
| 37 | <type>message</type> |
| 38 | <optional>1</optional> |
| 39 | </source> |
| 40 | </block> |