You copied the Doc URL to your clipboard.

4.4.64 TelnetTerminal component

This section describes the TelnetTerminal component.

TelnetTerminal - about

This component permits UART data to transfer between a SerialData port and a TCP/IP socket on the host.

When the simulation is started and the TelnetTerminal component is enabled, the component opens a server (listening) socket on a TCP/IP port. This is port 5000 by default.

Data written to the SerialData port is transmitted over the network socket. When data becomes available on the network socket, the TelnetTerminal component buffers the data. The data can then be read from SerialData.

If there is no connection to the network socket when the first data access is made, a host telnet session is automatically started. Prior to this first access, you can connect a client of your choice to the network socket. If the connection between the TelnetTerminal component and the client is broken at any time, the port is re-opened, permitting you to make another client connection.

This is a C++ component.

TelnetTerminal - ports

This section describes the ports.

Table 4-165 TelnetTerminal ports

Name Protocol Type Description
serial SerialData Slave Slave port for connecting to a SerialData master.

TelnetTerminal - parameters

This section describes the parameters.

Table 4-166 TelnetTerminal parameters

Name Type Allowed values Default value Description
mode string telneta, rawb telnet Terminal operation mode.
quiet bool true, false false Avoid output on stdout or stderr.
start_port int - 5000 Telnet TCP port number, of the port for the terminal when the system starts. If this port is not free, the port value is incremented by 1 until a free port is found.
start_telnet bool true, false true Enable terminal when the system starts.

TelnetTerminal - verification and testing

This component passes tests as part of the VE example system by using VE test suites and by booting operating systems.

TelnetTerminal - library dependencies

The performance of this component depends on the host terminal.

a In telnet mode, this component supports a subset of the telnet protocol defined in RFC 854.
b In raw mode, this component does not interpret or modify the byte stream contents. This permits a debugger connection, for example, to connect a gdb client to a gdbserver running on the target operating system.