<?xml version="1.0"?>
<block>
	<name>Frame File Sink</name>
	<key>satnogs_frame_file_sink</key>
	<category>[SatNOGS]</category>
	<import>import satnogs</import>
	<make>satnogs.frame_file_sink($prefix_name, $output_type)</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>Prefix name</name>
		<key>prefix_name</key>
		<value>test</value>
		<type>string</type>
	</param>
	
	<param>
		<name>Output type</name>
		<key>output_type</key>
		<type>enum</type>
		<option>
			<name>Clear Text</name>
			<key>0</key>
		</option>
		<option>
			<name>Hex</name>
			<key>1</key>
		</option>
		<option>
			<name>Binary</name>
			<key>2</key>
		</option>
	</param>

	<sink>
		<name>frame</name>
		<type>message</type>
	</sink>

</block>
