|
CTS-SAT-1-OBC-Firmware
|
#include <stdint.h>

Go to the source code of this file.
Classes | |
| struct | CONFIG_integer_config_entry_t |
| struct | CONFIG_string_config_entry_t |
Functions | |
| int16_t | CONFIG_get_int_var_index (const char *search_name) |
| Finds an int config variable in CONFIG_int_config_variables and returns its index. | |
| int16_t | CONFIG_get_str_var_index (const char *search_name) |
| Finds a string config variable in CONFIG_str_config_variables and returns its index. | |
| uint8_t | CONFIG_set_int_variable (const char *var_name, const uint64_t new_value) |
| Assigns a new value to an integer configuration variable. | |
| uint8_t | CONFIG_set_str_variable (const char *var_name, const char *new_value) |
| Assigns a new value to a string configuration variable. | |
| uint16_t | CONFIG_int_var_to_json (const char *config_var, char *json_str, const uint16_t json_str_max_len) |
| Converts an integer configuration variable to a JSON string. | |
| uint16_t | CONFIG_all_int_vars_to_json (char *json_str, const uint16_t json_str_size) |
| Converts ALL integer configuration variables to a tightly-packed JSON dictionary string. | |
| uint16_t | CONFIG_str_var_to_json (const char *var_name, char *json_str, const uint16_t json_str_max_len) |
| Converts a string configuration variable to a JSON string. | |
Variables | |
| static const uint8_t | CONFIG_MAX_VARIABLE_NAME_LENGTH = 200 |
| static const uint8_t | CONFIG_MAX_JSON_STRING_LENGTH = UINT8_MAX |
| uint32_t | EPS_monitor_interval_ms |
| The interval at which the EPS_monitor_and_disable_overcurrent_channels task runs. | |
| const uint32_t | CONFIG_freertos_min_remaining_stack_percent |
| The percentage of the stack space that should remain free. If the free space falls below this percentage, a warning will be logged. | |
| CONFIG_integer_config_entry_t | CONFIG_int_config_variables [] |
| const uint8_t | CONFIG_int_config_variables_count |
| CONFIG_string_config_entry_t | CONFIG_str_config_variables [] |
| const uint8_t | CONFIG_str_config_variables_count |
| uint32_t | TCMD_require_unique_tssent |
| Boolean. Whether to enforce unique @tssent suffix tag value for all telecommands. | |
| uint16_t CONFIG_all_int_vars_to_json | ( | char * | json_str, |
| const uint16_t | json_str_size ) |
Converts ALL integer configuration variables to a tightly-packed JSON dictionary string.
| json_str | Buffer to write the JSON string to |
| json_str_size | Max length of the buffer |


| int16_t CONFIG_get_int_var_index | ( | const char * | search_name | ) |
Finds an int config variable in CONFIG_int_config_variables and returns its index.
| name | Name of the variable being searched, as registered in CONFIG_int_config_variables |

| int16_t CONFIG_get_str_var_index | ( | const char * | search_name | ) |
Finds a string config variable in CONFIG_str_config_variables and returns its index.
| name | Name of the variable being searched, as registered in CONFIG_str_config_variables |

| uint16_t CONFIG_int_var_to_json | ( | const char * | var_name, |
| char * | json_str, | ||
| const uint16_t | json_str_max_len ) |
Converts an integer configuration variable to a JSON string.
| var_name | Name of the variable |
| json_str | Buffer to write the JSON string to |
| json_str_max_len | Max length of the buffer |


| uint8_t CONFIG_set_int_variable | ( | const char * | var_name, |
| const uint64_t | new_value ) |
Assigns a new value to an integer configuration variable.
| var_name | Name of the variable |
| new_value | New value |


| uint8_t CONFIG_set_str_variable | ( | const char * | var_name, |
| const char * | new_value ) |
Assigns a new value to a string configuration variable.
| config_var | Pointer to the configuration variable |
| new_value | New value |


| uint16_t CONFIG_str_var_to_json | ( | const char * | var_name, |
| char * | json_str, | ||
| const uint16_t | json_str_max_len ) |
Converts a string configuration variable to a JSON string.
| var_name | Name of the variable |
| json_str | Buffer to write the JSON string to |
| json_str_max_len | Max length of the buffer |


|
extern |
The percentage of the stack space that should remain free. If the free space falls below this percentage, a warning will be logged.
|
extern |
|
extern |
|
static |
|
static |
|
extern |
|
extern |
|
extern |
The interval at which the EPS_monitor_and_disable_overcurrent_channels task runs.
|
extern |
Boolean. Whether to enforce unique @tssent suffix tag value for all telecommands.
When enabled, telecommands with duplicate @tssent suffixes will be rejected.