Go to the source code of this file.
|
uint8_t | TCMDEXEC_echo_back_args (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| A demo telecommand that echoes back the argument it received.
|
|
uint8_t | TCMDEXEC_echo_back_uint32_args (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| A demo telecommand that echoes back each integer argument it received.
|
|
uint8_t | TCMDEXEC_run_all_unit_tests (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
|
uint8_t | TCMDEXEC_demo_blocking_delay (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Delay for a specified number of milliseconds, for testing purposes.
|
|
◆ TCMDEXEC_demo_blocking_delay()
uint8_t TCMDEXEC_demo_blocking_delay |
( |
const char * | args_str, |
|
|
char * | response_output_buf, |
|
|
uint16_t | response_output_buf_len ) |
Delay for a specified number of milliseconds, for testing purposes.
- Parameters
-
args_str | 1 argument: delay_ms (uint64_t)
- Arg 0: delay_ms (uint64_t) - The number of milliseconds to delay for. <=300_000ms.
|
- Returns
- 0 on success, 1 on error
- Note
- This is most useful for testing/triggering the watchdog timer.
◆ TCMDEXEC_echo_back_args()
uint8_t TCMDEXEC_echo_back_args |
( |
const char * | args_str, |
|
|
char * | response_output_buf, |
|
|
uint16_t | response_output_buf_len ) |
A demo telecommand that echoes back the argument it received.
- Parameters
-
args_str |
- Arg 0: The string to echo back.
|
◆ TCMDEXEC_echo_back_uint32_args()
uint8_t TCMDEXEC_echo_back_uint32_args |
( |
const char * | args_str, |
|
|
char * | response_output_buf, |
|
|
uint16_t | response_output_buf_len ) |
A demo telecommand that echoes back each integer argument it received.
- Parameters
-
args_str | 3 integer arguments to echo back.
- Arg 0: The first integer to echo back.
- Arg 1: The second integer to echo back.
- Arg 2: The third integer to echo back.
|
- Returns
- 0 if all ints are parsed successfully, otherwise the error code of the first failed parse.
◆ TCMDEXEC_run_all_unit_tests()
uint8_t TCMDEXEC_run_all_unit_tests |
( |
const char * | args_str, |
|
|
char * | response_output_buf, |
|
|
uint16_t | response_output_buf_len ) |