Go to the source code of this file.
|
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_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)
|
|
◆ TCMDEXEC_correct_system_time()
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.
- Parameters
-
args_str |
- Arg 0: Correction time in milliseconds (int64_t). Positive = forward in time, negative = backward in time.
|
- Returns
- 0 if successful, 1 if error
◆ TCMDEXEC_get_system_time()
uint8_t TCMDEXEC_get_system_time |
( |
const char * | args_str, |
|
|
char * | response_output_buf, |
|
|
uint16_t | response_output_buf_len ) |
◆ TCMDEXEC_set_eps_time_based_on_obc_time()
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)
- Returns
- 0 on success, >0 on failure.
◆ TCMDEXEC_set_obc_time_based_on_eps_time()
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)
- Returns
- 0 on success, >0 on failure.
◆ TCMDEXEC_set_obc_time_based_on_gnss_time()
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)
- Returns
- 0 on success, >0 on failure.
◆ TCMDEXEC_set_system_time()
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.
- Parameters
-
args_str |
- Arg 0: Unix epoch time in milliseconds (uint64_t)
|
- Returns
- 0 if successful, 1 if error