CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
complete_self_check.h File Reference
#include <stdint.h>
Include dependency graph for complete_self_check.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CTS1_system_self_check_result_struct_t
 

Functions

void CTS1_run_system_self_check (CTS1_system_self_check_result_struct_t *result)
 Perform the system self-check and store the results in the provided result struct.
 
void CTS1_self_check_struct_TO_json_list (CTS1_system_self_check_result_struct_t self_check_struct, char dest_json_str[], uint16_t dest_json_str_size, uint8_t show_passes)
 Convert the self-check struct to a JSON string.
 

Function Documentation

◆ CTS1_run_system_self_check()

void CTS1_run_system_self_check ( CTS1_system_self_check_result_struct_t * result)

Perform the system self-check and store the results in the provided result struct.

Parameters
resultPointer to the struct to store the results of the self-check.
Note
Powers off all systems that are tested after testing them. Powers on several systems.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CTS1_self_check_struct_TO_json_list()

void CTS1_self_check_struct_TO_json_list ( CTS1_system_self_check_result_struct_t self_check_struct,
char dest_json_str[],
uint16_t dest_json_str_size,
uint8_t show_passes )

Convert the self-check struct to a JSON string.

Parameters
self_check_structSelf-check struct to convert to JSON.
dest_json_strDestination string to write the JSON to.
dest_json_str_sizeSize of the destination string (max length to write).
show_passesIf 1, include the passed checks in the JSON.
Here is the caller graph for this function: