|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Shell access over a UART serial connection. More...
Files | |
| file | shell_uart.h |
| Header file for the UART shell backend. | |
Macros | |
| #define | SHELL_UART_DEFINE(_name, ...) |
Macro for creating shell UART transport instance named _name. | |
Functions | |
| const struct shell * | shell_backend_uart_get_ptr (void) |
| This function provides pointer to the shell UART backend instance. | |
| struct smp_shell_data * | shell_uart_smp_shell_data_get_ptr (void) |
| This function provides pointer to the smp shell data of the UART shell transport. | |
Shell access over a UART serial connection.
| #define SHELL_UART_DEFINE | ( | _name, | |
| ... ) |
#include <zephyr/shell/shell_uart.h>
Macro for creating shell UART transport instance named _name.
| const struct shell * shell_backend_uart_get_ptr | ( | void | ) |
#include <zephyr/shell/shell_uart.h>
This function provides pointer to the shell UART backend instance.
Function returns pointer to the shell UART instance. This instance can be next used with shell_execute_cmd function in order to test commands behavior.
| struct smp_shell_data * shell_uart_smp_shell_data_get_ptr | ( | void | ) |
#include <zephyr/shell/shell_uart.h>
This function provides pointer to the smp shell data of the UART shell transport.