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-195 TelnetTerminal ports
||SerialData||Slave||Slave port for connecting to a SerialData master.|
TelnetTerminal - parameters
This section describes the parameters.
The syntax to use in a configuration file or on the command line is:
x is the terminal identifier 0, 1, 2, or 3.
Table 4-196 TelnetTerminal parameters
|Name||Type||Allowed values||Default value||Description|
||Terminal operation mode.|
||Avoid output on
||-||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.|
||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.