CTS-SAT-1-OBC-Firmware
|
#include "log/log.h"
#include "eps_drivers/eps_types.h"
#include "eps_drivers/eps_calculations.h"
#include "timekeeping/timekeeping.h"
#include "stm32/stm32_reboot_reason.h"
#include "eps_drivers/eps_commands.h"
#include "littlefs/littlefs_helper.h"
#include "transforms/arrays.h"
#include "self_checks/complete_self_check.h"
#include "obc_systems/external_led_and_rbf.h"
#include "telecommands/system_telecommand_defs.h"
#include "telecommand_exec/telecommand_definitions.h"
#include "telecommand_exec/telecommand_executor.h"
#include <stdio.h>
#include <string.h>
Functions | |
uint8_t | TCMDEXEC_hello_world (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
A simple telecommand that responds with "Hello, world!" (log message and TCMD response) | |
uint8_t | TCMDEXEC_core_system_stats (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
uint8_t | TCMDEXEC_available_telecommands (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
uint8_t | TCMDEXEC_reboot (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
uint8_t | TCMDEXEC_system_self_check_failures_as_json (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
System self-check of all peripherals and systems. | |
uint8_t | TCMDEXEC_system_self_check_as_json (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
System self-check of all peripherals and systems. | |
uint8_t | TCMDEXEC_obc_get_rbf_state (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
uint8_t TCMDEXEC_available_telecommands | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
uint8_t TCMDEXEC_core_system_stats | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
uint8_t TCMDEXEC_hello_world | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
A simple telecommand that responds with "Hello, world!" (log message and TCMD response)
args_str | No arguments expected |
response_output_buf | The buffer to write the response to |
response_output_buf_len | The maximum length of the response_output_buf (its size) |
uint8_t TCMDEXEC_obc_get_rbf_state | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
uint8_t TCMDEXEC_reboot | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
uint8_t TCMDEXEC_system_self_check_as_json | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
System self-check of all peripherals and systems.
args_str | No arguments expected |
response_output_buf | Buffer is filled with a JSON list of strings of the FAILING checks |
uint8_t TCMDEXEC_system_self_check_failures_as_json | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
System self-check of all peripherals and systems.
args_str | No arguments expected |
response_output_buf | Buffer is filled with a JSON list of strings of the FAILING checks |