Micro Innovations M000174-19 manual Sntp Client

Page 66

Programs

Windows CE

7.10SNTP CLIENT

Under Windows CE 5.0 the device contains a Simple Network Time Protocol (SNTP) client. The SNTP implementation is derived from the Network Time Protocol (NTP). SNTP synchronizes the system time on a device with that of an SNTP server. This in turn receives its time from a reference source.

Note:

Further information on the functionality of the SNTP client is provided in the Microsoft MSDN documentation.

7.10.1GENERAL SETTINGS

The following registry settings control the functionality of the SNTP client (refer also to chapter Registry Editor).

Note:

Changes to the registry entries are not active until the next restart of the SNTP client. The dword entries are in hexadecimal format (see also chapter Sample settings).

Basic registry entries under [HKEY_LOCAL_MACHINE\Services\Timesvc]:

Entry

Type

 

Description

 

 

Server

string

/

Specifies the domain name of an SNTP server. If only a name is

 

multi_strin

 

specified, this value is a string. If a list of servers is specified, the

 

g

 

value is a multi-string.

 

 

 

 

Public time servers:

 

 

 

 

 

swisstime.ethz.ch

- IP 129.132.2.22

ETH Zürich

 

 

 

thrad.cybernet.ch

- IP 212.90.197.226

Swisscom

 

 

 

pool.ntp.org

- IP 212.101.3.211

Int. NTP Server Project

 

 

 

 

Refresh

dword

 

Specifies the duration in milliseconds between the synchronizations

 

 

 

with the SNTP server.

 

 

 

 

Caution: Minimum value for refresh: 5*60*1000ms

RecoveryRefresh

dword

 

Specifies the time in milliseconds until the next synchronization if the

 

 

 

previous attempt failed.

 

 

 

 

Caution: The specified time for this code must be less than or equal

 

 

 

to the specified time for the refresh code.

 

 

 

 

Caution: Minimum value for RecoveryRefresh: 5*60*1000ms

Threshold

dword

 

Specifies the time in milliseconds between the time on the SNTP

 

 

 

server and the current time on the device. If the difference between

 

 

 

the time on the SNTP server and the current time on the device is

 

 

 

greater, the time synchronization is interrupted.

AutoUpdate

dword

 

If this value is set to one (1), the SNTP client is activated if a server

 

 

 

was defined.

 

 

ServerRole

dword

 

Always set to zero (0). SNTP server is not supported!

66

M000174-19

Image 66
Contents System Description Windows CE Imprint Windows CE Contents Contents Licensing IndexGeneral Windows CE GeneralStartup Behavior Windows CE General DhcpAUTOEXEC.REG AUTOEXEC.BATStart REM Following Msdos compatible commands are available AUTOEXEC.BMPCTRL/DOWNLOAD Button File SystemGeneral Windows CE Shortcuts Parameter DescriptionStart shortcut -p FtpSvr.exe Power Supply Interruption Access to PC Windows CE EthernetEthernet Ethernet Windows CE Access to Micro Panel Name Resolution CehostsPrinting Access to enabled printer of a Windows computerPrinting Windows CE Printing VIA EthernetWindows CE Printing Printing using Windows driverPrinting using ESC sequences Parallel InterfaceSystem settings Windows CE System SettingsExamples Call Windows CE System settingsCommand Line Parameters Expanding the Control PanelDate / Time and Time Zone Setting Datetime Screen Setting Display Dim ValueOrientation Windows CE System settings Software Input Panel KeyButtonSize5 Dword Points License Administrator LicenseSerial Change LicenseNetwork Setting Network Gateway192.168 .0.0 to 192.168 System settingsWindows CEIP classes Examples of invalid subnet masks Binary formatInfo NET Setup Netsetup Owner OwnerStorage Memory System Properties SystemTotal Memory Program MemoryMisc Touch Touch Touch Disable/Enable Touch Lock Echo OFFKeyboard Setup Keyboard Bootdevice Setup Bootdevice Storagemanager Storagemanager System settings Windows CE Windows CE Network test Network TestRepllogswitch ActiveSync connection Windows CEActivesync Connection Procedure Activesync Windows CE ActiveSync connectionProcedure Manual Server Windows CE Programs ProgramsPrograms Windows CE FormatRemote Server Password Settings Remote Client Chapter Touch Enable/Disable Menu item DescriptionProcedure UseDeactivates a previously activated password protection Html Browser Internet Explorer Programs Windows CE ProxySettings MIExplorer DescriptionMiExplorer ButtonsExample of an INI file MIExplorer MIExplorer ButtonsWEB Server Httpd Root directory Entry Type DescriptionTopic Chapter Access authentication a User List UserListExample Description Access Permissions Values in hexFunctionality Call Virtual Directory Settings File ServerFile Server START/STOP User Administration Useradmin Function CallSntp Client START/STOP/REFRESH of the Sntp Client Registry Editor Type Description Example of a REG fileCF Backup Background Picture WallpaperFor example Windows CE Programs AutoLaunchBoot AutolaunchAutoLaunch Device Restart Reboot Information Display InfoFile System Size Storagememorysize System Performance Idlecount File Viewer Applications Windows CE Programs From Windows CE 5.0 Professional PlusPrograms from Windows CE 5.0 Professional Plus General LimitationsMicrosoft Image Viewer Licensing Relicensing ProcedureWindows CE Licensing With a license product certificateIndex Index Windows CEWindows CE Index Windows CE Windows CE