A shared serial port is called a connection meaning a link between the network and a serial port. A connection is manipulated via the serial port name (path) it shares. The type of network side for any connection can be defined only on connection creation.
The following network modes are available:
- TCP server
- TCP client
- UDP (with multicast support)
Usually, the process of sharing a serial port consists of the following steps:
- Create a connection, specifying:
- serial port name (or a symbolic link name if it’s a virtual port),
- serial port type: real or virtual,
- network side type.
See add command
- Set connection, network and serial port parameters.
- Start the connection by calling the start command.
You may use the ‘set’ command to alter some connection properties. Some properties cannot be changed when the connection is started
A lot of options are specific to the current mode
Note: on Linux, Serial to Ethernet Connector will use the native virtual serial port technology. Read/write rights to access virtual serial ports are granted to ‘root’ user and ‘dialout’ group only.
Note: Make sure you have customized your firewall settings so that network traffic is not blocked.