restartPort - restart device service on specified host and port MOOS nodeSYNOPSIS
DESCRIPTIONrestartPort nodeHost portName(s)
The restartPort utility restarts the SIAM device service running on the specified node and port. Restarting the service will guarantee that the service is initialized using the current service property values. One or more invocations of the setProperty utility should be followed by restartPort to ensure that new property settings take effect. For example, to set several property values for the service running on /dev/ttySX11 on the "surface" node:ENVIRONMENT% setProperty surface /dev/ttySX11 powerPolicy=ALWAYS % setProperty surface /dev/ttySX11 defaultSkipInterval=-1 % restartPort surface /dev/ttySX11Multiple ports may be specified, e.g.% restartPort surface /dev/ttySX3 /dev/ttySX11 /dev/ttySX15The portName(s) can be abbreviated as an integer, i.e. "/dev/ttySX11" can be abbreviated as simply "11". Thus the above example is equivalent to
% restartPort surface 3 11 15This utility may be run on the same host as the node, or on any networked host from which the node host is accessible. If run on the node's host, then nodeHost should be specified as "localhost".
The following environment variables must be set:
SEE ALSO
setProperty , cachePort , nodeTest