The Touch has two clocks, a realtime clock in hardware and the "system"
clock in software. When you display the time you are using the system
clock, which works from an interrupt using the regular processor clock.
Its not particularly good, it drifts around etc. The RTC keeps much
better time but the "get time" etc calls don't look at it.
Unfortunately its also not battery backed up so it forgets the time
when the Touch is unplugged. 

If you are running completely standalone with no connection to the
outside world your best bet is to leave the Touch running all the time
and periodically sync the system clock to the RTC. There is a linux
command to do this. You can also use a linux command to set the system
clock and then sync the RTC to the system clock, from then on sync the
system clock to the RTC. When this gets too far off you can manually
set the time again.

If you are running the internal server BUT have an internet connection
then its just a matter of connecting to an external server every so
often (either your own SBS or mysb.com)

It should theoretically be possible to have the Touch itself sync to an
NTP server, but I'm not sure if anyone has got that working. 

John S.


-- 
JohnSwenson
------------------------------------------------------------------------
JohnSwenson's Profile: http://forums.slimdevices.com/member.php?userid=5974
View this thread: http://forums.slimdevices.com/showthread.php?t=85339

_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to