<?xml version="1.0"?>
<block>
  <name>square_and_fft_sync_cc</name>
  <key>ais_square_and_fft_sync</key>
  <category>ais</category>
  <import>from ais import gmsk_sync</import>
  <make>gmsk_sync.square_and_fft_sync_cc($rate, $sps, $fftlen)</make>
  <!-- Make one 'param' node for every Parameter you want settable from the GUI.
       Sub-nodes:
       * name
       * key (makes the value accessible as $keyname, e.g. in the make node)
       * type -->
  <param>
    <name>Sample rate</name>
    <key>rate</key>
    <type>float</type>
  </param>
  <param>
    <name>Symbols per second</name>
    <key>sps</key>
    <type>float</type>
  </param>
  <param>
    <name>FFT length</name>
    <key>fftlen</key>
    <type>int</type>
  </param>

  <!-- Make one 'sink' node per input. Sub-nodes:
       * name (an identifier for the GUI)
       * type
       * vlen
       * optional (set to 1 for optional inputs) -->
  <sink>
    <name>in</name>
    <type>complex</type>
  </sink>

  <!-- Make one 'source' node per output. Sub-nodes:
       * name (an identifier for the GUI)
       * type
       * vlen
       * optional (set to 1 for optional inputs) -->
  <source>
    <name>out</name>
    <type>complex</type>
  </source>
</block>
