Zephyr API Documentation  3.5.0
A Scalable Open Source RTOS
3.5.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
shell_telnet Struct Reference

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 net_contextclient_ctx
 Network context of TELNET client.
 
struct k_fifo rx_fifo
 RX packet FIFO.
 
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.
 

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: