<?xml version="1.0"?>
<!--
###################################################
##Correlate Access Code
###################################################
 -->
<block>
	<name>Correlate Access Code - Tag</name>
	<key>digital_correlate_access_code_tag_xx</key>
	<import>from gnuradio import digital</import>
	<make>digital.correlate_access_code_tag_$(type.fcn)($access_code, $threshold, $tagname)</make>
	<callback>set_access_code($access_code)</callback>
	<callback>set_threshold($threshold)</callback>
	<callback>set_tagname($tagname)</callback>

	<param>
		<name>IO Type</name>
		<key>type</key>
		<type>enum</type>
		<option>
			<name>Byte</name>
			<key>byte</key>
			<opt>fcn:bb</opt>
		</option>
		<option>
			<name>Float</name>
			<key>float</key>
			<opt>fcn:ff</opt>
		</option>
	</param>
	<param>
		<name>Access Code</name>
		<key>access_code</key>
		<value>101010</value>
		<type>string</type>
	</param>
	<param>
		<name>Threshold</name>
		<key>threshold</key>
		<type>int</type>
	</param>
	<param>
		<name>Tag Name</name>
		<key>tagname</key>
		<type>string</type>
	</param>
	<sink>
		<name>in</name>
		<type>$type</type>
	</sink>
	<source>
		<name>out</name>
		<type>$type</type>
	</source>
</block>
