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 | use_colors: 1 |
Enables / disables colored syntax. | |
uint8_t | echo: 1 |
Enables / disables CLI echo. | |
uint8_t | unused: 4 |
CLI instance context.