Go to the source code of this file.
Data Structures | |
struct | app_cli_init_prm_t |
Macros | |
#define | APP_CLI_MAX_PROMPT_NAME (16u) |
Typedefs | |
typedef int32_t(* | app_cli_cmd_handler_f) (int argc, char *argv[]) |
typedef int(* | app_cli_device_send_string_f) (char *string, uint32_t max_size) |
typedef int(* | app_cli_device_get_string_f) (char *string, uint32_t max_size, uint32_t *string_size) |
Functions | |
void | appCliInitPrmSetDefault (app_cli_init_prm_t *) |
int32_t | appCliInit (app_cli_init_prm_t *) |
int32_t | appCliDeInit () |
int32_t | appCliRegisterSystemCmd (char *cmd, char *desc, app_cli_cmd_handler_f cmd_handler) |
int32_t | appCliRegisterAppCmd (char *cmd, char *desc, app_cli_cmd_handler_f cmd_handler) |
int32_t | appCliRegisterAppSubCmd (char *cmd, char *desc, app_cli_cmd_handler_f cmd_handler) |
int32_t | appCliShowPrompt (uint32_t *is_exit) |
void | appCliShowBanner (void) |
#define APP_CLI_MAX_PROMPT_NAME (16u) |
typedef int32_t(* app_cli_cmd_handler_f) (int argc, char *argv[]) |
typedef int(* app_cli_device_send_string_f) (char *string, uint32_t max_size) |
typedef int(* app_cli_device_get_string_f) (char *string, uint32_t max_size, uint32_t *string_size) |
void appCliInitPrmSetDefault | ( | app_cli_init_prm_t * | ) |
int32_t appCliInit | ( | app_cli_init_prm_t * | ) |
int32_t appCliDeInit | ( | ) |
int32_t appCliRegisterSystemCmd | ( | char * | cmd, |
char * | desc, | ||
app_cli_cmd_handler_f | cmd_handler | ||
) |
int32_t appCliRegisterAppCmd | ( | char * | cmd, |
char * | desc, | ||
app_cli_cmd_handler_f | cmd_handler | ||
) |
int32_t appCliRegisterAppSubCmd | ( | char * | cmd, |
char * | desc, | ||
app_cli_cmd_handler_f | cmd_handler | ||
) |
int32_t appCliShowPrompt | ( | uint32_t * | is_exit | ) |
void appCliShowBanner | ( | void | ) |