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

Go to the source code of this file.

Classes

struct  TCMD_TelecommandDefinition_t
struct  TCMD_parsed_tcmd_to_execute_t

Macros

#define TCMD_MAX_RESP_FNAME_LEN   64
#define TCMD_ARGS_STR_NO_PARENS_SIZE   240

Typedefs

typedef uint8_t(* TCMD_TCMDEXEC_Function_Ptr) (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)

Enumerations

enum  TCMD_readiness_level_enum_t {
  TCMD_READINESS_LEVEL_FOR_OPERATION = 0 , TCMD_READINESS_LEVEL_FOR_RECOVERY_OR_EXPERT = 10 , TCMD_READINESS_LEVEL_FLIGHT_TESTING = 20 , TCMD_READINESS_LEVEL_GROUND_USAGE_ONLY = 30 ,
  TCMD_READINESS_LEVEL_HIGH_RISK_AND_UNSAFE = 40
}
 The permission/risk level of a telecommand. More...

Variables

static const uint16_t TCMD_MAX_FULL_LENGTH = 255
 Max full length of a telecommand, including prefix, args, suffix tags, null terminator, etc.

Macro Definition Documentation

◆ TCMD_ARGS_STR_NO_PARENS_SIZE

#define TCMD_ARGS_STR_NO_PARENS_SIZE   240

◆ TCMD_MAX_RESP_FNAME_LEN

#define TCMD_MAX_RESP_FNAME_LEN   64

Typedef Documentation

◆ TCMD_TCMDEXEC_Function_Ptr

typedef uint8_t(* TCMD_TCMDEXEC_Function_Ptr) (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)

Enumeration Type Documentation

◆ TCMD_readiness_level_enum_t

The permission/risk level of a telecommand.

Enumerator
TCMD_READINESS_LEVEL_FOR_OPERATION 
TCMD_READINESS_LEVEL_FOR_RECOVERY_OR_EXPERT 
TCMD_READINESS_LEVEL_FLIGHT_TESTING 
TCMD_READINESS_LEVEL_GROUND_USAGE_ONLY 
TCMD_READINESS_LEVEL_HIGH_RISK_AND_UNSAFE 

Variable Documentation

◆ TCMD_MAX_FULL_LENGTH

const uint16_t TCMD_MAX_FULL_LENGTH = 255
static

Max full length of a telecommand, including prefix, args, suffix tags, null terminator, etc.

Note
This is a superset/container of the TCMD_ARGS_STR_NO_PARENS_SIZE value.