CTS-SAT-1-OBC-Firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
firmware
Core
Inc
telecommand_exec
agenda_from_file.h
Go to the documentation of this file.
1
#ifndef INCLUDE_GUARD__AGENDA_FROM_FILE_H
2
#define INCLUDE_GUARD__AGENDA_FROM_FILE_H
3
4
#include <stdint.h>
5
6
#include "
littlefs/littlefs_constants.h
"
7
8
extern
char
*
TCMD_active_agenda_filename_disabled_sentinel
;
9
extern
char
TCMD_active_agenda_filename
[
LFS_MAX_PATH_LENGTH
];
10
11
uint8_t
TCMD_parse_tcmds_from_file_and_enqueue
(
12
const
char
*file_path,
13
uint64_t min_tsexec_inclusive, uint64_t max_tsexec_exclusive,
14
uint16_t max_enqueue_count
15
);
16
17
#endif
// INCLUDE_GUARD__AGENDA_FROM_FILE_H
TCMD_active_agenda_filename_disabled_sentinel
char * TCMD_active_agenda_filename_disabled_sentinel
When TCMD_active_agenda_filename is set to this value, agenda loading is disabled.
Definition
agenda_from_file.c:9
TCMD_active_agenda_filename
char TCMD_active_agenda_filename[LFS_MAX_PATH_LENGTH]
The file path of the agenda file to load upcoming telecommands from.
Definition
agenda_from_file.c:23
TCMD_parse_tcmds_from_file_and_enqueue
uint8_t TCMD_parse_tcmds_from_file_and_enqueue(const char *file_path, uint64_t min_tsexec_inclusive, uint64_t max_tsexec_exclusive, uint16_t max_enqueue_count)
Parses a file of telecommands and enqueues them into the agenda.
Definition
agenda_from_file.c:35
littlefs_constants.h
LFS_MAX_PATH_LENGTH
#define LFS_MAX_PATH_LENGTH
The maximum path length supported by CTS-SAT-1, including the null terminator.
Definition
littlefs_constants.h:7
Generated by
1.17.0