Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
shell_telnet Struct Reference

#include <shell_telnet.h>

Data Fields

shell_transport_handler_t shell_handler
 
voidshell_context
 
struct shell_telnet_line_buf line_out
 
struct net_contextclient_ctx
 
struct k_fifo rx_fifo
 
struct k_work_delayable send_work
 
struct k_work_sync work_sync
 
bool output_lock
 

Detailed Description

TELNET-based shell transport.

Field Documentation

◆ client_ctx

struct net_context* shell_telnet::client_ctx

Network context of TELNET client.

◆ line_out

struct shell_telnet_line_buf shell_telnet::line_out

Buffer for outgoing line.

◆ output_lock

bool shell_telnet::output_lock

If set, no output is sent to the TELNET client.

◆ rx_fifo

struct k_fifo shell_telnet::rx_fifo

RX packet FIFO.

◆ send_work

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.

◆ shell_context

void* shell_telnet::shell_context

Context registered by shell.

◆ shell_handler

shell_transport_handler_t shell_telnet::shell_handler

Handler function registered by shell.

◆ work_sync

struct k_work_sync shell_telnet::work_sync

The documentation for this struct was generated from the following file: