|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Transport backends that connect a shell instance to a communication channel. More...
Topics | |
| ADSP memory window shell backend | |
| Shell access over an ADSP memory window. | |
| Dummy shell backend | |
| In-memory shell backend used for testing. | |
| MQTT shell backend | |
| Shell access over an MQTT connection. | |
| RPMsg shell backend | |
| Shell access over an RPMsg endpoint. | |
| RTT shell backend | |
| Shell access over a SEGGER RTT channel. | |
| SSH shell backend | |
| Shell access over an SSH connection. | |
| Telnet shell backend | |
| Shell access over a TELNET connection. | |
| UART shell backend | |
| Shell access over a UART serial connection. | |
| Websocket shell backend | |
| Shell access over a WebSocket connection. | |
Files | |
| file | shell_backend.h |
| Header file for the shell backend accessors. | |
Functions | |
| static const struct shell * | shell_backend_get (uint32_t idx) |
| Get a shell backend by index. | |
| static int | shell_backend_count_get (void) |
| Get number of backends. | |
| const struct shell * | shell_backend_get_by_name (const char *backend_name) |
| Get backend by name. | |
Transport backends that connect a shell instance to a communication channel.
A shell instance is driven by a transport backend (UART, RTT, Telnet, MQTT, WebSocket, SSH, RPMsg, ...). Backends are normally selected and enabled through their Kconfig options (for example CONFIG_SHELL_BACKEND_SERIAL), and the shell subsystem instantiates the configured backend automatically. Applications usually do not reference the symbols in this group directly.
What each backend header exposes is therefore a small, mostly implementation oriented surface:
|
inlinestatic |
#include <zephyr/shell/shell_backend.h>
Get a shell backend by index.
| [in] | idx | Index of the backend, from 0 to shell_backend_count_get() - 1. |
| const struct shell * shell_backend_get_by_name | ( | const char * | backend_name | ) |
#include <zephyr/shell/shell_backend.h>
Get backend by name.
| [in] | backend_name | Name of the backend as defined by the SHELL_DEFINE. |