CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
freertos_telecommand_defs.h File Reference
#include "telecommand_exec/telecommand_types.h"
#include <stdint.h>
Include dependency graph for freertos_telecommand_defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_t TCMDEXEC_freetos_list_tasks_jsonl (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
 Telecommand that return metadata regarding Tasks from FreeRTOS.
 
uint8_t TCMDEXEC_freertos_demo_stack_usage (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
 Demo using stack memory by allocating a Variable-Length Array (VLA) on the stack.
 

Function Documentation

◆ TCMDEXEC_freertos_demo_stack_usage()

uint8_t TCMDEXEC_freertos_demo_stack_usage ( const char * args_str,
char * response_output_buf,
uint16_t response_output_buf_len )

Demo using stack memory by allocating a Variable-Length Array (VLA) on the stack.

Parameters
args_str
  • Arg 0: num_bytes (uint64_t) - The number of elements to allocate in the VLA. <=1_000_000.
Returns
0 on success, >0 on error
Here is the call graph for this function:

◆ TCMDEXEC_freetos_list_tasks_jsonl()

uint8_t TCMDEXEC_freetos_list_tasks_jsonl ( const char * args_str,
char * response_output_buf,
uint16_t response_output_buf_len )

Telecommand that return metadata regarding Tasks from FreeRTOS.

Parameters
args_strNo arguments expected
response_output_bufThe buffer to write the response to
response_output_buf_lenThe maximum length of the response_output_buf (its size)
Returns
0 if successful, >0 if an error occurred (but hello_world can't return an error)
Here is the call graph for this function: