When TCP/IP Serial Ports Server is running as stand-alone process, use command-line parameters to configure its options. The server supports the following options:
psip_server.exe [OPTIONS] <SHARED-PORTS>
Where <SHARED-PORTS>
is encoded according to basic or advanced syntax:
COMn1=TCP-PORT[,protocol] [COMn2=TCP-PORT[,protocol]]...
COMn=<port>[,protocol]
arguments are mandatory. They specify which serial ports are shared over which TCP ports. protocol
, if specified, must be either rfc2217
or raw
. If protocol is omitted, rfc2217
is assumed.
Example:
psip_server.exe COM5=11111 COM6=22222,raw
com=n,tcp=n[,comma-separated optional arguments]
Supported optional arguments:
Argument format | Description |
---|---|
baud=n | Override baud rate |
bits=n | Override byte size |
stop=1|1.5|2 | Override stop bits |
parity=no|odd|even|mark|space | Override parity |
flow=no|software|hardware | Override flow control |
protocol=rfc2217|raw | Override protocol |
bufferSize=n | Set TCP buffer size, in bytes (default 512KB, allowed range 4KB..10MB) |
Example:
psip_server.exe com=5,tcp=11111 com=6,tcp=22222,protocol=row,bufferSize=65536
Option | Argument | Description |
---|---|---|
-? , --help | Display command-line parameters. | |
--nologo | Do not display logo message. | |
Logging options | ||
--log-path | <path> | Write server log to the specified file. |
--log-level | LOGGING-LEVEL | Set logging level to one of the following:
|
--no-screen-log | Do not display a copy of log to the console. | |
Service operations | ||
-install-service , --install-service | Install service. Must be called from elevated command-prompt. | |
-uninstall-service , --uninstall-service | Uninstall service. Must be called from elevated command-prompt. | |
License Installation | ||
--license | <path> | Install the license from the given license file |