This repository contains the source code for a generic client of the SATNet network.
This is the code for a GS with a TNC to demodulate/modulate the frames which are being received/sent from/to the satellite.
Steps to install the generic client for the SATNet network:
- To install the dependencies run, from the Scripts folder:
./setup.sh -install
You will need root privileges.
Before starting the script should be activate the corresponding virtualenv to satisfy the required dependencies.
source .venv/bin/activate
To run this script you have the following options:
-
If you want to enter data connection from the user interface.
Activate the virtualenv
source .venv/bin/activate
Run the script.
python client_amp.py
-
To start a serial connection directly from the command line will have to enter the parameters as follows:
python client_amp.py -g -n username -p userpassword -t slot -c serial -s serialport -b baudrate
-
For a UDP connection you must set an ip and a port:
python client_amp.py -g -n username -p userpassword -t slot -c udp -i ip -u ipport
For help about script usage enter:
python client_amp -help
Local tests needs special dependencies. For get them run setup.sh -local
from the scripts folder.
You will get a new virtual enviroment called venv_test
that must be activated before tests.
A basic client-server implementation of the AMP protocol for Java and Python can be found at this repository