satnogs_ax25_encoder_mb.xml 1.22 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
<?xml version="1.0"?>
<block>
	<name>AX.25 Encoder</name>
	<key>satnogs_ax25_encoder_mb</key>
	<category>satnogs</category>
	<import>import satnogs</import>
	<make>satnogs.ax25_encoder_mb($dest_addr, $dest_ssid, $src_addr, $src_ssid, $preamble_len, $postamble_len, $scramble)</make>
	
	<param>
		<name>Destination Callsign</name>
		<key>dest_addr</key>
		<type>string</type>
	</param>

	<param>
		<name>Destination SSID</name>
		<key>dest_ssid</key>
		<type>int</type>
	</param>

	<param>
		<name>Source Callsign</name>
		<key>src_addr</key>
		<type>string</type>
	</param>

	<param>
		<name>Source SSID</name>
		<key>src_ssid</key>
		<type>int</type>
	</param>
	
	<param>
		<name>Preamble Length</name>
		<key>preamble_len</key>
		<value>16</value>
		<type>int</type>
	</param>
	
	<param>
		<name>Postamble Length</name>
		<key>postamble_len</key>
		<value>16</value>
		<type>int</type>
	</param>

	<param>
		<name>G3RUH Scrambling</name>
		<key>scramble</key>
		<type>enum</type>
		<option>
			<name>Yes</name>
			<key>True</key>
		</option>
		<option>
			<name>No</name>
			<key>False</key>
		</option>
	</param>

	<sink>
		<name>info</name>
		<type>message</type>
	</sink>

	<source>
		<name>out</name>
		<type>byte</type>
	</source>
</block>