CTS-SAT-1-OBC-Firmware
|
#include "telecommands/timekeeping_telecommand_defs.h"
#include "telecommand_exec/telecommand_args_helpers.h"
#include "timekeeping/timekeeping.h"
#include "eps_drivers/eps_time.h"
#include "gnss_receiver/gnss_time.h"
#include <stdio.h>
#include <string.h>
Functions | |
uint8_t | TCMDEXEC_get_system_time (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
uint8_t | TCMDEXEC_set_system_time (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
Set the system time to the provided Unix epoch time in milliseconds. | |
uint8_t | TCMDEXEC_correct_system_time (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
Adjust the system time with a signed int. | |
uint8_t | TCMDEXEC_set_obc_time_based_on_eps_time (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
Sync's obc time to eps time (+/- 1 second) | |
uint8_t | TCMDEXEC_set_obc_time_based_on_gnss_time (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
Sync's OBC time to gnss time (+/- ~100ms) | |
uint8_t | TCMDEXEC_set_eps_time_based_on_obc_time (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
Sync's eps time to obc time (+/- 1 second) | |
uint8_t TCMDEXEC_correct_system_time | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
Adjust the system time with a signed int.
args_str |
|
uint8_t TCMDEXEC_get_system_time | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
uint8_t TCMDEXEC_set_eps_time_based_on_obc_time | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
Sync's eps time to obc time (+/- 1 second)
uint8_t TCMDEXEC_set_obc_time_based_on_eps_time | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
Sync's obc time to eps time (+/- 1 second)
uint8_t TCMDEXEC_set_obc_time_based_on_gnss_time | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
Sync's OBC time to gnss time (+/- ~100ms)
uint8_t TCMDEXEC_set_system_time | ( | const char * | args_str, |
char * | response_output_buf, | ||
uint16_t | response_output_buf_len ) |
Set the system time to the provided Unix epoch time in milliseconds.
args_str |
|