Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
TELNET-based shell transport. More...
#include <shell_telnet.h>
Data Fields | |
shell_transport_handler_t | shell_handler |
Handler function registered by shell. | |
void * | shell_context |
Context registered by shell. | |
struct shell_telnet_line_buf | line_out |
Buffer for outgoing line. | |
struct zsock_pollfd | fds [3] |
Array for sockets used by the telnet service. | |
uint8_t | rx_buf [CONFIG_SHELL_CMD_BUFF_SIZE] |
Input buffer. | |
size_t | rx_len |
Number of data bytes within the input buffer. | |
struct k_mutex | rx_lock |
Mutex protecting the input buffer access. | |
uint8_t | cmd_buf [3] |
uint8_t | cmd_len |
struct k_work_delayable | send_work |
The delayed work is used to send non-lf terminated output that has been around for "too long". | |
struct k_work_sync | work_sync |
bool | output_lock |
If set, no output is sent to the TELNET client. | |
TELNET-based shell transport.
uint8_t shell_telnet::cmd_buf[3] |
uint8_t shell_telnet::cmd_len |
struct zsock_pollfd shell_telnet::fds[3] |
Array for sockets used by the telnet service.
struct shell_telnet_line_buf shell_telnet::line_out |
Buffer for outgoing line.
bool shell_telnet::output_lock |
If set, no output is sent to the TELNET client.
uint8_t shell_telnet::rx_buf[CONFIG_SHELL_CMD_BUFF_SIZE] |
Input buffer.
size_t shell_telnet::rx_len |
Number of data bytes within the input buffer.
struct k_mutex shell_telnet::rx_lock |
Mutex protecting the input buffer access.
struct k_work_delayable shell_telnet::send_work |
The delayed work is used to send non-lf terminated output that has been around for "too long".
This will prove to be useful to send the shell prompt for instance.
void* shell_telnet::shell_context |
Context registered by shell.
shell_transport_handler_t shell_telnet::shell_handler |
Handler function registered by shell.
struct k_work_sync shell_telnet::work_sync |