nrf_cli_ctx_t

nRF5 SDK v14.0.0

CLI instance context. More...

#include <nrf_cli.h>

Data Fields

nrf_cli_state_t state
Internal module state.
nrf_cli_receive_t receive_state
Escape sequence indicator.
nrf_cli_static_entry_t const * p_current_stcmd
Currently executed command.
nrf_cli_vt100_ctx_t vt100_ctx
VT100 color and cursor position, terminal width.
nrf_cli_cmd_len_t cmd_buff_len
Command length.
nrf_cli_cmd_len_t cmd_buff_pos
Command buffer cursor position.
char cmd_buff [ NRF_CLI_CMD_BUFF_SIZE ]
Command input buffer.
char temp_buff [ NRF_CLI_CMD_BUFF_SIZE ]
Temporary buffer used by various functions.
char printf_buff [ NRF_CLI_PRINTF_BUFF_SIZE ]
Printf buffer size.
volatile bool tx_rdy
uint8_t insert_mode : 1
Enables / disables console insert mode for text introduction.
uint8_t show_help : 1
Shows help if command was called with -h or –help parameter.
uint8_t unused : 6

Detailed Description

CLI instance context.

  • components/libraries/experimental_cli/nrf_cli.h