tcpdump: Run sudo tcpdump and see UDP packets sent to 239.255.0.1:20001 and 239.255.0.2:20002.
C code: Compile listener.c and run listener 239.255.0.1 20001 or listener 239.255.0.2 20002 (output will not be legible, but you should receive several packets).
TODOs for new GSs or FCs for testing:
Turn off ufw firewall on the ground station: sudo ufw disable. --> OR BETTER OPTION: run sudo ufw allow 20001/udp and sudo ufw allow 20001/udp to get incoming UDP traffice on the relevent ports!
On your flight computer, add a default gateway to the gondola network config in /etc/netplan/00-installer-config.yaml:
routes:- to: defaultvia: 192.168.1.1
MCP can send UDP multicast packets through the LOS/biphase and TDRSS/highrate EVTM downlinks.
Scope:
mcp
and related files.groundhog
).evtm
codeRelevant Issue: #60
Testing Reception At Ground Station:
iperf
: Runiperf -s -B 239.255.0.1 -u -i 1 -p 20001
andiperf -s -B 239.255.0.1 -u -i 1 -p 20001
.tcpdump
: Runsudo tcpdump
and see UDP packets sent to 239.255.0.1:20001 and 239.255.0.2:20002.listener 239.255.0.1 20001
orlistener 239.255.0.2 20002
(output will not be legible, but you should receive several packets).TODOs for new GSs or FCs for testing:
ufw
firewall on the ground station:sudo ufw disable
. --> OR BETTER OPTION: runsudo ufw allow 20001/udp
andsudo ufw allow 20001/udp
to get incoming UDP traffice on the relevent ports!/etc/netplan/00-installer-config.yaml
:routes:
- to: default
via: 192.168.1.1