How TTYredirector Works
TTYredirector command line utilities and daemon
- trconfig configures TTYredirector devices with settings including the IP address (or hostname) of a device server and the TCP port number for a device on that server.
- trquery shows TTYredirector device settings.
- trtrace shows TTYredirector activity in real-time for diagnostic purposes.
- The ttyredirectord daemon converts the serial data stream of the application to a TCP/IP connection to the device server.
TTYredirector devices at run-time
- When an application opens a TTYredirector device, the daemon establishes a TCP/IP connection to the device server using the corresponding IP address (or hostname) and TCP port number.
- If the device server supports the COM Port Control protocol, the daemon automatically negotiates it and can perform additional detailed configuration of the remote device.
- If the server requires a login to use a port, the daemon can automatically provide a user name and password.
- As the application reads and writes the TTYredirector device, the daemon relays the data stream to the device server.