Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 944 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 944 Bytes

ex2_obc_fe2o3

Prototype OBC framework written in Rust

To build:

cargo build

To run on localhost, listening on port <port>:

target/debug/ex3_obc_fe203 --port <port>

You can also use cargo run if you prefer.

Once running, you can send commands to the OBC payloads and receive a response. The command and response packets for the same format:

Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 ... Byte 63
Length Dest Opcode Data 0 Data 1 ... 0

where the Length is the total number of bytes of data including the header, Dest is the payload (1 for EPS, 2 for ADCS, 3 for DFGM), Opcode is the payload specific command code, and Data i is the payload and command specific arguments.

For replies the Dest and Opcode are the same as the command, and the optional response status and data start at Data 0.