Crates.io | prust_test |
lib.rs | prust_test |
version | 0.1.2 |
source | src |
created_at | 2021-04-22 22:41:31.258605 |
updated_at | 2021-04-23 14:48:14.218562 |
description | A crate that utilizes prust_core and provides a cli to send/receive the PUS-C tm/tc packets defined on it. |
homepage | https://github.com/visionspacetec/Prust#readme |
repository | https://github.com/visionspacetec/Prust-Test |
max_upload_size | |
id | 388324 |
size | 64,574 |
Prust-Test is a tool to send and recieve telecommand and telemetry packets of PUS-C from a command line.
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:
exec_func Sends a request to execute a function defined
help Prints this message or the help of the given subcommand(s)
new_report Creates new housekeeping report structure
one_shot Sends a one shot request for the specified hk id
periodic_dis 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.
Name | Telecommand Description |
---|---|
exec_func | TC[8,1] perform a function |
new_report | TC[3,1] create a housekeeping parameter report structure |
one_shot | TC[3,27] generate a one shot report for housekeeping parameter report structures |
periodic_en | TC[3,5] enable the periodic generation of housekeeping parameter reports |
periodic_dis | TC[3,6] disable the periodic generation of housekeeping parameter reports |
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
cargo install prust_test