Re: Problem to update device time using SNTP
- From: "John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 23 Mar 2007 11:53:39 -0700
I recommend putting a fully debug timesvc.dll in your image and cranking up
full debugzones for this dll - it's pretty verbose and may help you isolate
just what's going wrong. The source to it is shared in
\private\servers\timesvc2 as part of shared source pack, which is some PB
option, in case you'd need to step through it.
--
John Spaith
Development Lead, Windows CE
Microsoft Corporation
Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:%23eQQFSWbHHA.4544@xxxxxxxxxxxxxxxxxxxxxxx
OK, so you need to debug through the client on the device and find out
what's going on. There is no good reason why the time should not change,
if it's wrong. There's a threshold set for the SNTP client so that you
don't update the time if it's off by a small number of seconds, so maybe
that's your problem. Otherwise, there should be a call to SetSystemTime()
somewhere in the client that gets triggered by having the time be wrong
and that should result in a call to OEMSetRealTime in your OAL which,
unless you've broken your BSP should result in whatever clock you are
using being changed.
Paul T.
"Aniket Joshi" <AniketJoshi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D77AF6EE-F780-4395-8F1D-0E40E3DEB07F@xxxxxxxxxxxxxxxx
Paul,
When we observed traffic on network line, we found that device is sending
query to server & time server is also sending reply back to device. but
device is not able to update time.
Aniket
"Paul G. Tobey [eMVP]" wrote:
So what *does* happen? Is the server being contacted?
Paul T.
"Aniket Joshi" <AniketJoshi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8EF21CC1-3D92-492A-B867-2E610EAE927F@xxxxxxxxxxxxxxxx
Hi,
We are working on Wince 5.0. we want to implement timeserver
functionality
in our product. We have enabled SNTP for the same . But It does not
update
the time of the device.
we are useing WinXP PC with enabled Time Server as NTP Server and a
CE 5.0 based device as Client.
Please suggest
Aniket
.
- References:
- Re: Problem to update device time using SNTP
- From: Paul G. Tobey [eMVP]
- Re: Problem to update device time using SNTP
- From: Paul G. Tobey [eMVP]
- Re: Problem to update device time using SNTP
- Prev by Date: Re: Including modified SNTP component in the Release
- Next by Date: Re: FAT file system file creation latency?
- Previous by thread: Re: Problem to update device time using SNTP
- Next by thread: Re: How do I get CEMGRC.exe and tcpipc.dll to be part of my Windows CE
- Index(es):
Relevant Pages
|