<?xml version="1.0"?>
<block>
  <name>Burst SDCCH Subslot Filter</name>
  <key>gsm_burst_sdcch_subslot_filter</key>
  <import>import grgsm</import>
  <make>grgsm.burst_sdcch_subslot_filter($mode, $subslot)</make>
   
  <param>
    <name>Mode</name>
    <key>mode</key>
    <type>enum</type>
    <option>
      <name>SDCCH/8</name>
      <key>grgsm.SS_FILTER_SDCCH8</key>
    </option>
    <option>
      <name>SDCCH/4</name>
      <key>grgsm.SS_FILTER_SDCCH4</key>
    </option>
  </param>

  <param>
    <name>Subslot</name>
    <key>subslot</key>
    <value>0</value>
    <type>int</type>
    <hide>none</hide>
  </param>

  <sink>
    <name>in</name>
    <type>message</type>
  </sink>

  <source>
    <name>out</name>
    <type>message</type>
    <optional>1</optional>
  </source>

  <doc>
This block forwards only bursts in the subslot given by the parameter
  </doc>
</block>