<?xml version="1.0"?>
<block>
  <name>Schmidl &amp; Cox OFDM synch.</name>
  <key>digital_ofdm_sync_sc_cfb</key>
  <import>from gnuradio import digital</import>
  <make>digital.ofdm_sync_sc_cfb($fft_len, $cp_len, $use_even_carriers, $threshold)</make>
  <callback>set_threshold($threshold)</callback>
  <param>
    <name>FFT length</name>
    <key>fft_len</key>
    <type>int</type>
  </param>
  <param>
    <name>Cyclic Prefix length</name>
    <key>cp_len</key>
    <type>int</type>
  </param>
  <param>
	  <name>Preamble Carriers</name>
	  <key>use_even_carriers</key>
	  <value>False</value>
	  <type>enum</type>
	  <hide>part</hide>
	  <option>
		  <name>Odd</name>
		  <key>False</key>
	  </option>
	  <option>
		  <name>Even</name>
		  <key>True</key>
	  </option>
  </param>
  <param>
    <name>Threshold</name>
    <key>threshold</key>
    <value>0.9</value>
    <type>real</type>
  </param>
  <check>$fft_len &gt; 0</check>
  <check>$cp_len &gt;= 0</check>
  <sink>
    <name>in</name>
    <type>complex</type>
  </sink>
  <source>
    <name>freq_offset</name>
    <type>float</type>
  </source>
  <source>
    <name>detect</name>
    <type>byte</type>
  </source>
</block>
