|
CTS-SAT-1-OBC-Firmware
|
Functions | |
| list[bytes] | extract_radio_packets_from_logs (int packet_type, Path log_file_path) |
| None | reconstruct_bulk_downlinked_file (Path log_file_path, Path output_file_path) |
| str | calculate_sha256 (Path file_path) |
| None | main () |
| str extract_radio_packets_from_uart_logs.calculate_sha256 | ( | Path | file_path | ) |
Calculates the SHA-256 hash of a file.
Args:
file_path: Path to the file.
Returns:
The SHA-256 hash of the file as a hexadecimal string.
| list[bytes] extract_radio_packets_from_uart_logs.extract_radio_packets_from_logs | ( | int | packet_type, |
| Path | log_file_path ) |
Extracts radio packets from the log file.
Args:
packet_type: The number of packets to extract.
log_file_path: Path to the log file.
Returns:
A list of bytes representing the extracted radio packets.

| None extract_radio_packets_from_uart_logs.main | ( | void | ) |


| None extract_radio_packets_from_uart_logs.reconstruct_bulk_downlinked_file | ( | Path | log_file_path, |
| Path | output_file_path ) |
Reconstructs a bulk downlinked file from the log file.
Args:
log_file_path: Path to the log file.
output_file_path: Path to save the reconstructed file.

