Skip to content

Commit

Permalink
Fixed UDP in AAUSAT-4 and GOMX-3.
Browse files Browse the repository at this point in the history
The UDP port was hardcoded instead of using the `port` parameter.
  • Loading branch information
daniestevez committed Aug 30, 2016
1 parent 84bcfdb commit d379043
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion aausat_4.grc
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@
</param>
<param>
<key>port</key>
<value>7355</value>
<value>port</value>
</param>
<param>
<key>vlen</key>
Expand Down
4 changes: 2 additions & 2 deletions aausat_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Title: AAUSAT-4 decoder
# Author: Daniel Estevez
# Description: AAUSAT-4 decoder
# Generated: Sun Aug 28 23:05:33 2016
# Generated: Tue Aug 30 23:59:02 2016
##################################################

from gnuradio import blocks
Expand Down Expand Up @@ -57,7 +57,7 @@ def __init__(self, callsign="", invert=1, ip="::", latitude=0, longitude=0, port
self.digital_binary_slicer_fb_0 = digital.binary_slicer_fb()
self.blocks_unpacked_to_packed_xx_0_0 = blocks.unpacked_to_packed_bb(1, gr.GR_MSB_FIRST)
self.blocks_unpacked_to_packed_xx_0 = blocks.unpacked_to_packed_bb(1, gr.GR_MSB_FIRST)
self.blocks_udp_source_0 = blocks.udp_source(gr.sizeof_short*1, ip, 7355, 1472, False)
self.blocks_udp_source_0 = blocks.udp_source(gr.sizeof_short*1, ip, port, 1472, False)
self.blocks_tagged_stream_to_pdu_0_0 = blocks.tagged_stream_to_pdu(blocks.byte_t, "packet_len")
self.blocks_tagged_stream_to_pdu_0 = blocks.tagged_stream_to_pdu(blocks.byte_t, "packet_len")
self.blocks_tagged_stream_multiply_length_0_0 = blocks.tagged_stream_multiply_length(gr.sizeof_char*1, "packet_len", 1/8.0)
Expand Down
2 changes: 1 addition & 1 deletion gomx_3.grc
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@
</param>
<param>
<key>port</key>
<value>7355</value>
<value>port</value>
</param>
<param>
<key>vlen</key>
Expand Down
4 changes: 2 additions & 2 deletions gomx_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Title: GOMX-3 decoder
# Author: Daniel Estevez
# Description: GOMX-3 decoder
# Generated: Mon Aug 29 15:31:40 2016
# Generated: Tue Aug 30 23:58:44 2016
##################################################

from gnuradio import blocks
Expand Down Expand Up @@ -55,7 +55,7 @@ def __init__(self, callsign="", invert=1, ip="::", latitude=0, longitude=0, port
self.digital_binary_slicer_fb_0 = digital.binary_slicer_fb()
self.csp_check_crc_0 = csp.check_crc(False, False)
self.blocks_unpacked_to_packed_xx_0 = blocks.unpacked_to_packed_bb(1, gr.GR_MSB_FIRST)
self.blocks_udp_source_0 = blocks.udp_source(gr.sizeof_short*1, ip, 7355, 1472, False)
self.blocks_udp_source_0 = blocks.udp_source(gr.sizeof_short*1, ip, port, 1472, False)
self.blocks_tagged_stream_to_pdu_0 = blocks.tagged_stream_to_pdu(blocks.byte_t, "packet_len")
self.blocks_tagged_stream_multiply_length_0 = blocks.tagged_stream_multiply_length(gr.sizeof_char*1, "packet_len", 1/8.0)
self.blocks_short_to_float_0 = blocks.short_to_float(1, 32767.0)
Expand Down
2 changes: 1 addition & 1 deletion sat_3cat_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Title: 3CAT-2 decoder
# Author: Daniel Estevez
# Description: Decodes 9k6 AX.25 BPSK telemetry from 3CAT-2
# Generated: Tue Aug 30 16:36:01 2016
# Generated: Tue Aug 30 23:57:57 2016
##################################################

from gnuradio import analog
Expand Down

0 comments on commit d379043

Please sign in to comment.