public
Last active

Test GRC Block Definition

  • Download Gist
test.xml
XML
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
<?xml version="1.0"?>
<block>
<name>TestMe</name>
<key>test_test</key>
<category>Test</category>
<import>import gnuradio</import>
<make>pass</make>
 
<param>
<name>Broadcast Channels</name>
<key>bc_channels</key>
<value>[1]</value>
<type>int_vector</type>
</param>
 
<param>
<name>Unicast Channels</name>
<key>uc_channels</key>
<value>[4]</value>
<type>int_vector</type>
</param>
 
<source>
<name>bcout</name>
<type>message</type>
<nports>len($bc_channels)</nports>
<optional>1</optional>
</source>
 
<source>
<name>ucout</name>
<type>message</type>
<nports>len($uc_channels)</nports>
<optional>1</optional>
</source>
 
<source>
<name>toMAC</name>
<type>message</type>
<nports>1</nports>
</source>
 
</block>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.