<?xml version="1.0"?>
<block>
	<name>TCP rigctl Message Source</name>
	<key>satnogs_tcp_rigctl_msg_source</key>
	<import>import satnogs</import>
	<make>satnogs.tcp_rigctl_msg_source($addr, $port, $mode, $interval, $mtu)</make>

	<param>
		<name>IP Address</name>
		<key>addr</key>
		<value>"127.0.0.1"</value>
		<type>string</type>
	</param>

	<param>
		<name>Port</name>
		<key>port</key>
		<value>16886</value>
		<type>int</type>
	</param>
	
	<param>
		<name>Mode</name>
		<key>mode</key>
		<type>enum</type>
		<option>
			<name>Client</name>
			<key>False</key>
		</option>
		<option>
			<name>Server</name>
			<key>True</key>
		</option>
	</param>
	
	<param>
		<name>Update interval (ms)</name>
		<key>interval</key>
		<value>1000</value>
		<type>int</type>
	</param>

	<param>
		<name>MTU</name>
		<key>mtu</key>
		<value>1500</value>
		<type>int</type>
	</param>

	<source>
		<name>freq</name>
		<type>message</type>
	</source>
</block>