Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
themeEmacs
sntp [options] [command]
  where commands are:
    start - start service
    stop  - stop service
  where options are:
    -server={ipaddr}    - set sntp server address
	-gps={on|off}		- enable/disable GPS time source
    -interval={seconds} - specify poll interval in seconds [1800]
    -supplier={on|off}  - enable/disable server mode
    -debug={on|off}     - enable/disable debug information
Center
ParameterDescription
start Starts time synchronization process.
stop Stops process.

-server={ipaddr}

Set SNTP server IP address.

Example:

Code Block
languagetext
themeEmacs
sntp -server=9.1.1.1
-gps={on|off}

Enable/disable GPS time source. In case the external synchronization unit AUX-OUT-SYNC is connected to the device, the built-in GNSS receiver can be used as an accurate time source (if there are signals from satellites constellation). It is not necessary to set the external SMTP server address.

-interval={seconds}

Specifies poll interval in seconds, by default is 1800.

Example:

Code Block
languagetext
themeEmacs
sntp -interval=5000

-supplier={on|off}

Enables/disables server mode support.

-debug={on|off}

Enables/disables debug information logging.

Example:

Code Block
languagetext
themeEmacs
sntp -debug=on
sntp -debug=off

...