|
K-FSW ec10f94
Modular flight software on Zephyr, for small satellites
|
#include <stdbool.h>#include <stddef.h>#include <stdint.h>Data Structures | |
| struct | kfsw_log_record |
| struct | kfsw_log_history_window |
Macros | |
| #define | KFSW_LOG_TEXT_SIZE 192U |
| #define | KFSW_LOG_HISTORY_MAX_READ 32U |
Functions | |
| int | kfsw_log_history_window (uint16_t count, struct kfsw_log_history_window *window) |
| int | kfsw_log_history_get (uint64_t sequence, struct kfsw_log_record *record) |
| int | kfsw_log_history_server_start (void) |
Bounded, non-destructive text log history.
| int kfsw_log_history_get | ( | uint64_t | sequence, |
| struct kfsw_log_record * | record | ||
| ) |
Read one sequence.
-ENOENT means it was overwritten or never recorded.
| int kfsw_log_history_server_start | ( | void | ) |
Start the optional CSP server after the router has started.
| int kfsw_log_history_window | ( | uint16_t | count, |
| struct kfsw_log_history_window * | window | ||
| ) |
Snapshot the bounds of the newest count records, without consuming them.