|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Shell instance context. More...
#include <zephyr/shell/shell.h>
Data Fields | |
| const char * | prompt |
| enum shell_state | state |
| Internal module state. | |
| enum shell_receive_state | receive_state |
| Escape sequence indicator. | |
| struct shell_static_entry | active_cmd |
| Currently executed command. | |
| const struct shell_static_entry * | selected_cmd |
| New root command. | |
| struct shell_vt100_ctx | vt100_ctx |
| VT100 color and cursor position, terminal width. | |
| shell_uninit_cb_t | uninit_cb |
| Callback called from shell thread context when unitialization is completed just before aborting shell thread. | |
| shell_bypass_cb_t | bypass |
| When bypass is set, all incoming data is passed to the callback. | |
| uint32_t | log_level |
| uint16_t | cmd_buff_len |
| Command length. | |
| uint16_t | cmd_buff_pos |
| Command buffer cursor position. | |
| uint16_t | cmd_tmp_buff_len |
| Command length in tmp buffer. | |
| char | cmd_buff [0] |
| Command input buffer. | |
| char | temp_buff [0] |
| Command temporary buffer. | |
| char | printf_buff [0] |
| Printf buffer size. | |
| volatile union shell_backend_cfg | cfg |
| volatile union shell_backend_ctx | ctx |
| struct k_event | signal_event |
| struct k_sem | lock_sem |
| k_tid_t | tid |
| int | ret_val |
Shell instance context.
| struct shell_static_entry shell_ctx::active_cmd |
Currently executed command.
| shell_bypass_cb_t shell_ctx::bypass |
When bypass is set, all incoming data is passed to the callback.
Logging level for a backend.
| volatile union shell_backend_cfg shell_ctx::cfg |
| char shell_ctx::cmd_buff[0] |
Command input buffer.
| uint16_t shell_ctx::cmd_buff_len |
Command length.
| uint16_t shell_ctx::cmd_buff_pos |
Command buffer cursor position.
| uint16_t shell_ctx::cmd_tmp_buff_len |
Command length in tmp buffer.
| volatile union shell_backend_ctx shell_ctx::ctx |
| struct k_sem shell_ctx::lock_sem |
| uint32_t shell_ctx::log_level |
| char shell_ctx::printf_buff[0] |
Printf buffer size.
| const char* shell_ctx::prompt |
| enum shell_receive_state shell_ctx::receive_state |
Escape sequence indicator.
| int shell_ctx::ret_val |
| const struct shell_static_entry* shell_ctx::selected_cmd |
New root command.
If NULL shell uses default root commands.
| struct k_event shell_ctx::signal_event |
| enum shell_state shell_ctx::state |
Internal module state.
| char shell_ctx::temp_buff[0] |
Command temporary buffer.
| k_tid_t shell_ctx::tid |
| shell_uninit_cb_t shell_ctx::uninit_cb |
Callback called from shell thread context when unitialization is completed just before aborting shell thread.
| struct shell_vt100_ctx shell_ctx::vt100_ctx |
VT100 color and cursor position, terminal width.