CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
timekeeping_telecommand_defs.h
Go to the documentation of this file.
1
2#ifndef INCLUDE_GUARD__TIMEKEEPING_TELECOMMAND_DEFS_H__
3#define INCLUDE_GUARD__TIMEKEEPING_TELECOMMAND_DEFS_H__
4
5#include <stdint.h>
7
8uint8_t TCMDEXEC_get_system_time(const char *args_str,
9 char *response_output_buf, uint16_t response_output_buf_len);
10
11uint8_t TCMDEXEC_set_system_time(const char *args_str,
12 char *response_output_buf, uint16_t response_output_buf_len);
13
14uint8_t TCMDEXEC_correct_system_time(const char *args_str,
15 char *response_output_buf, uint16_t response_output_buf_len);
16
17uint8_t TCMDEXEC_set_eps_time_based_on_obc_time(const char *args_str,
18 char *response_output_buf, uint16_t response_output_buf_len);
19
20uint8_t TCMDEXEC_set_obc_time_based_on_eps_time(const char *args_str,
21 char *response_output_buf, uint16_t response_output_buf_len);
22
23uint8_t TCMDEXEC_set_obc_time_based_on_gnss_time(const char *args_str,
24 char *response_output_buf, uint16_t response_output_buf_len);
25
26#endif /* INCLUDE_GUARD__FLASH_TELECOMMAND_DEFS_H__ */
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)
Definition timekeeping_telecommand_defs.c:66
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)
Definition timekeeping_telecommand_defs.c:102
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.
Definition timekeeping_telecommand_defs.c:22
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)
Definition timekeeping_telecommand_defs.c:83
uint8_t TCMDEXEC_get_system_time(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Definition timekeeping_telecommand_defs.c:10
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.
Definition timekeeping_telecommand_defs.c:42