|
CTS-SAT-1-OBC-Firmware
|
#include "telecommands/agenda_telecommands_defs.h"#include "telecommand_exec/telecommand_definitions.h"#include "telecommand_exec/telecommand_args_helpers.h"#include "telecommand_exec/telecommand_executor.h"#include "telecommand_exec/agenda_from_file.h"#include "debug_tools/debug_uart.h"#include "log/log.h"#include "transforms/arrays.h"#include <string.h>#include <stdio.h>#include <stdbool.h>
Functions | |
| uint8_t | TCMDEXEC_agenda_fetch_json_grouped (const char *args_str, char *response_output_buf, uint16_t response_output_buf_size) |
| Fetches the active agendas and writes a minified JSON dict-of-lists to the response buffer. | |
| uint8_t | TCMDEXEC_agenda_fetch_logged_jsonl (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Telecommand: Fetch all pending agenda items, and log them each as JSONL. | |
| uint8_t | TCMDEXEC_agenda_delete_all (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Telecommand: Delete all agenda entries. | |
| uint8_t | TCMDEXEC_agenda_delete_by_tssent (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Telecommand: Delete agenda entry by tssent timestamp. | |
| uint8_t | TCMDEXEC_agenda_delete_by_name (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Telecommand: Delete all agenda entries with a given telecommand name. | |
| uint8_t | TCMDEXEC_agenda_enqueue_from_file (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Telecommand: Enqueue telecommands from a file. | |
| uint8_t TCMDEXEC_agenda_delete_all | ( | const char * | args_str, |
| char * | response_output_buf, | ||
| uint16_t | response_output_buf_len ) |
Telecommand: Delete all agenda entries.
| args_str | No arguments needed |
| 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_agenda_delete_by_name | ( | const char * | args_str, |
| char * | response_output_buf, | ||
| uint16_t | response_output_buf_len ) |
Telecommand: Delete all agenda entries with a given telecommand name.
| 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_agenda_delete_by_tssent | ( | const char * | args_str, |
| char * | response_output_buf, | ||
| uint16_t | response_output_buf_len ) |
Telecommand: Delete agenda entry by tssent timestamp.
| 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_agenda_enqueue_from_file | ( | const char * | args_str, |
| char * | response_output_buf, | ||
| uint16_t | response_output_buf_len ) |
Telecommand: Enqueue telecommands from a file.
| args_str |
|

| uint8_t TCMDEXEC_agenda_fetch_json_grouped | ( | const char * | args_str, |
| char * | response_output_buf, | ||
| uint16_t | response_output_buf_size ) |
Fetches the active agendas and writes a minified JSON dict-of-lists to the response buffer.
| args_str | No arguments. |
| response_output_buf | Buffer to write the JSON output to. |
| response_output_buf_size | Size of the response buffer. |

| uint8_t TCMDEXEC_agenda_fetch_logged_jsonl | ( | const char * | args_str, |
| char * | response_output_buf, | ||
| uint16_t | response_output_buf_len ) |
Telecommand: Fetch all pending agenda items, and log them each as JSONL.
| args_str | No arguments. |
