Commit 4c72875f authored by Manolis Surligas's avatar Manolis Surligas

Add frame encoder block

parent 73e2c8d9
......@@ -458,11 +458,11 @@ of a full period of the CW signal with frequency freq.</value>
</param>
<param>
<key>_enabled</key>
<value>0</value>
<value>1</value>
</param>
<param>
<key>_coordinate</key>
<value>(1152, 276)</value>
<value>(936, 212)</value>
</param>
<param>
<key>_rotation</key>
......@@ -1662,7 +1662,7 @@ of a full period of the CW signal with frequency freq.</value>
</param>
<param>
<key>_coordinate</key>
<value>(488, 580)</value>
<value>(584, 588)</value>
</param>
<param>
<key>_rotation</key>
......@@ -1703,6 +1703,12 @@ of a full period of the CW signal with frequency freq.</value>
<source_key>0</source_key>
<sink_key>1</sink_key>
</connection>
<connection>
<source_block_id>blocks_add_xx_0</source_block_id>
<sink_block_id>audio_sink_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>blocks_add_xx_0</source_block_id>
<sink_block_id>blocks_throttle_0</sink_block_id>
......
......@@ -27,5 +27,6 @@ install(FILES
satnogs_ax25_encoder_bf.xml
satnogs_ax25_decoder_b.xml
satnogs_udp_msg_source.xml
satnogs_debug_msg_source.xml DESTINATION share/gnuradio/grc/blocks
satnogs_debug_msg_source.xml
satnogs_frame_encoder.xml DESTINATION share/gnuradio/grc/blocks
)
<?xml version="1.0"?>
<block>
<name>frame_encoder</name>
<key>satnogs_frame_encoder</key>
<category>satnogs</category>
<import>import satnogs</import>
<make>satnogs.frame_encoder($append_preamble, $ecss_encap, $dest_addr, $dest_ssid, $src_addr, $src_ssid)</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>...</name>
<key>...</key>
<type>...</type>
</param>
<!-- Make one 'sink' node per input. Sub-nodes:
* name (an identifier for the GUI)
* type
* vlen
* optional (set to 1 for optional inputs) -->
<sink>
<name>in</name>
<type><!-- e.g. int, float, complex, byte, short, xxx_vector, ...--></type>
</sink>
<!-- Make one 'source' node per output. Sub-nodes:
* name (an identifier for the GUI)
* type
* vlen
* optional (set to 1 for optional inputs) -->
<source>
<name>out</name>
<type><!-- e.g. int, float, complex, byte, short, xxx_vector, ...--></type>
</source>
</block>
......@@ -39,5 +39,6 @@ install(FILES
ax25_decoder_b.h
udp_msg_source.h
debug_msg_source.h
tc_tm.h DESTINATION include/satnogs
tc_tm.h
frame_encoder.h DESTINATION include/satnogs
)
This diff is collapsed.
......@@ -37,7 +37,8 @@ list(APPEND satnogs_sources
ax25_decoder_b_impl.cc
udp_msg_source_impl.cc
debug_msg_source_impl.cc
tc_tm.cc )
tc_tm.cc
frame_encoder_impl.cc )
set(satnogs_sources "${satnogs_sources}" PARENT_SCOPE)
if(NOT satnogs_sources)
......
This diff is collapsed.
This diff is collapsed.
......@@ -22,6 +22,7 @@
#include "satnogs/udp_msg_source.h"
#include "satnogs/debug_msg_source.h"
#include "satnogs/tc_tm.h"
#include "satnogs/frame_encoder.h"
%}
......@@ -49,3 +50,5 @@ GR_SWIG_BLOCK_MAGIC2(satnogs, udp_msg_source);
%include "satnogs/debug_msg_source.h"
GR_SWIG_BLOCK_MAGIC2(satnogs, debug_msg_source);
%include "satnogs/tc_tm.h"
%include "satnogs/frame_encoder.h"
GR_SWIG_BLOCK_MAGIC2(satnogs, frame_encoder);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment