<?xml version="1.0"?>
<block>
  <name>Message Printer</name>
  <key>gsm_message_printer</key>
  <import>import grgsm</import>
  <import>import pmt</import>
  <make>grgsm.message_printer(pmt.intern($prepend_string), $prepend_fnr,
    $prepend_frame_count, $print_gsmtap_header)</make>

  <param>
    <name>Prepend String</name>
    <key>prepend_string</key>
    <value></value>
    <type>string</type>
    <hide>part</hide>
  </param>
  <param>
    <name>Prepend Frame Number</name>
    <key>prepend_fnr</key>
    <value>False</value>
    <type>bool</type>
    <option>
      <name>False</name>
      <key>False</key>
    </option>
    <option>
      <name>True</name>
      <key>True</key>
    </option>
  </param>
  <param>
    <name>Prepend Frame Count</name>
    <key>prepend_frame_count</key>
    <value>False</value>
    <type>bool</type>
    <option>
      <name>False</name>
      <key>False</key>
    </option>
    <option>
      <name>True</name>
      <key>True</key>
    </option>
  </param>
  <param>
    <name>Print GSMTap header</name>
    <key>print_gsmtap_header</key>
    <value>False</value>
    <type>bool</type>
    <option>
      <name>False</name>
      <key>False</key>
    </option>
    <option>
      <name>True</name>
      <key>True</key>
    </option>
  </param>

  <sink>
    <name>msgs</name>
    <type>message</type>
  </sink>
</block>
