beautypg.com

Ethvcom] syntax – NavCom Sapphire Rev.J User Manual

Page 425

background image

Sapphire Technical Reference Manual Rev. J

425

[ETHVCOM] is a system command, and the settings will be stored in system NVRAM.

An active UDP session will automatically be re-established if the SF-3050 is reset due to power
interruption.

This is not possible for a TCP mode connection except under special conditions
where the remote will be listening on the configured remote port. This essentially
reverses the server/client roles.

Entering this command without any arguments displays the current settings for all four logical
ports.

[ETHVCOM] Syntax

[ETHVCOM]on/off, remote IP address, remote UDP/TCP port, mode, local UDP/TCP port,
logical port

On/off

Keyword that enables (ON) or disables (OFF) the virtual COM port
functionality on this logical port.

Remote IP

If the logical port is enabled (ON), and IP address & port are non-zero,
a connection is established to a remote user having this IP address
and port. If the IP address is 0.0.0.0 then the unit breaks any current
connection, and listens for a new connection from any remote user.

Remote Port If non-zero, specifies the remote UDP/TCP port number the

ETHVCOM task will connect to. If the remote IP address is non-zero,
the remote port must be non-zero also.

mode

Keyword identifying ETHVCOM task transport protocol:

UDP1

UDP with no “connection”. Any Nova command responses, or any scheduled
output messages will be sent to the IP address and port of the sender of the last
received UDP datagram.

UDP2

This with pseudo session. (See notes for description of a UDP “pseudo
session”)

TCP1

The connection operates as a normal TCP session with the exception that if
there is a send error, other than a re-transmission of a lost packet, then the
connection will be terminated, and the logical port will enter listen mode for a
new connection. This may happen if the remote client experiences a power
interruption, or some sort of network interruption.

TCP2

TCP session with keep-alive timeout. (Future implementation)

Local Port

If non-zero, specifies the local UDP/TCP port number the ETHVCOM
task will listen on (range : 4100

– 65534).

Logical Port

ETH1, ETH2, ETH3, or ETH4. This is the logical port that will be used
by ETHVCOM task for requesting, or scheduling, messages.