CTS-SAT-1-OBC-Firmware
|
#include "telecommand_exec/telecommand_args_helpers.h"
#include "telecommands/mpi_telecommand_defs.h"
#include "mpi/mpi_command_handling.h"
#include "transforms/arrays.h"
#include "mpi/mpi_transceiver.h"
#include "littlefs/littlefs_helper.h"
#include "log/log.h"
#include "uart_handler/uart_handler.h"
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "main.h"
Functions | |
uint8_t | TCMDEXEC_mpi_send_command_get_response_hex (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
Send a configuration command & params (IF ANY) to the MPI encoded in hex. | |
uint8_t | TCMDEXEC_mpi_enable_active_mode (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
Enables systems to start receiving data actively from MPI and storing using LFS. | |
uint8_t | TCMDEXEC_mpi_disable_active_mode (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
Sets the state to not send or receive data from MPI. | |
uint8_t | TCMDEXEC_mpi_demo_tx_to_mpi (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
Sends a message over UART to the MPI. | |
uint8_t | TCMDEXEC_mpi_demo_set_transceiver_mode (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
Sends a message over UART to the MPI. | |
uint8_t TCMDEXEC_mpi_demo_set_transceiver_mode | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
Sends a message over UART to the MPI.
args_str |
|
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_mpi_demo_tx_to_mpi | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
Sends a message over UART to the MPI.
args_str | No args. |
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_mpi_disable_active_mode | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
Sets the state to not send or receive data from MPI.
args_str | No args. |
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_mpi_enable_active_mode | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
Enables systems to start receiving data actively from MPI and storing using LFS.
args_str |
|
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_mpi_send_command_get_response_hex | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
Send a configuration command & params (IF ANY) to the MPI encoded in hex.
args_str |
|
response_output_buf | The buffer to write the response to |
response_output_buf_len | The maximum length of the response_output_buf (its size) |