CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
For

Telecommand: Download a specific file from the ADCS SD card by its checksum.

Telecommand: Download a specific file from the ADCS SD card by its checksum.

Parameters
args_str
  • Arg 0: The CRC16 checksum of the file as two hex bytes in order (e.g. pass checksum 0x07f1 as "07 f1")
Returns
0 on success, >0 on error checksum 0x07f1, the telecommand is: CTS1+adcs_download_sd_file_by_checksum(07 f1) and the file will be downloaded as: ADCS/log_07f1.TLM (if it's a telemetry file).

This command writes a file to LittleFS in the /ADCS/ directory, identified by the file's checksum. For example, "ADCS/log_%x.TLM", "ADCS/img_%x.jpg", "ADCS/img_%x.bmp", where x is the file's CRC16 checksum in lowercase hex.