Some exaples for using Ball Aerospace COSMOS over a TCP server.
This repository has two examples:
- tcpServerBlinkTest.js: A nodejs script generates a server that listen to incoming telemetry and sends a sample packet each second. It creates a TCP server.
This test creates a TCP Server emulating this arduino code with COSMOS.
BLINK_TCP_TEST is the COSMOS project for receive the telemetry and to send the telecomands.
The steps to setup the project are:
- Copy the file ``configsample.json
into
config.json` with you variables. - Install COSMOS 5.0 and run it
- Go to Admin > Plugins > Install the .gem file on
cosmos-simple-tcp/
folder - Run the server with
node tcpServerBlinkTest.js
- Go to COSMOS and connect to it
This test decode APRS with the program Direwolf from an audio source, and pipe the output using CCSDS standard to a TCP port for COSMOS. I used an Baofeng UV-5R connected to the audio input of my computer.
CCSDS_APRS_TCP is the COSMOS project for receive the APRS output from direwolf.