nrf_cli_ctx_t

nRF5 SDK v13.1.0

CLI instance context. More...

#include <nrf_cli.h>

Data Fields

nrf_cli_state_t state
Internal module state.
nrf_cli_cmd_t const * p_current_cmd
Current executed command.
vt100_ctx_t vt100_ctx
VT100 color and cursor position.
bool escape
Escape sequence indicator.
bool arrow
Arrow escape sequence indicator.
size_t argc
Number of arguments.
char * argv [ NRF_CLI_ARGC_MAX ]
Argument list.
size_t cmd_buff_pos
Command buffer position.
char cmd_buff [ NRF_CLI_CMD_BUFF_SIZE ]
Command input buffer.
char printf_buff [ NRF_CLI_PRINTF_BUFF_SIZE ]
Printf buffer size.

Detailed Description

CLI instance context.

  • components/libraries/cli/nrf_cli.h