crates.io WIKI

Prust-Test

Prust-Test is a tool to send and recieve telecommand and telemetry packets of PUS-C from a command line.

Usage

After installing, type prust_test Then you will see the list of ports connected.
Enter your device index from the list when prompted then you may use the CLI! You can get help by: ```

help ```

``` USAGE: tc [SUBCOMMAND]

FLAGS: -h, --help Prints help information -V, --version Prints version information

SUBCOMMANDS: execfunc Sends a request to execute a function defined help Prints this message or the help of the given subcommand(s) newreport Creates new housekeeping report structure oneshot Sends a one shot request for the specified hk id periodicdis Disables peridic report of parameters of the given struct ids periodic_en Enables peridic report of parameters of the given struct ids q quit ```

For more on prust_test check the wiki page: How to Use Prust Test.

Available Telecommands

|Name | Telecommand Description | |-|-| |execfunc| TC[8,1] perform a function| |newreport| TC[3,1] create a housekeeping parameter report structure| |oneshot| TC[3,27] generate a one shot report for housekeeping parameter report structures| |periodicen| TC[3,5] enable the periodic generation of housekeeping parameter reports| |periodic_dis| TC[3,6] disable the periodic generation of housekeeping parameter reports|

Requirements

For GNU Linux pkg-config headers are required: Ubuntu: sudo apt install pkg-config Fedora: sudo dnf install pkgconf-pkg-config

Libudev headers are needed for gnu linux. Ubuntu: sudo apt install libudev-dev Fedora: sudo dnf install systemd-devel For windows some build tools will be required (Will be warned by the OS about that after you try to run the program). Nightly rust is required. rustup default nightly

Install

cargo install prust_test