GSM network time
- From: Anze <anzenews@xxxxxxxxx>
- Date: Wed, 18 Jul 2007 15:10:31 +0200
Hi all!
I have tried looking for the information on the Internet, but could find
nothing... I hope someone can help me out.
I am trying to build a system based on Siemens TC65. It is very important
for the application that runs on it to know the exact time (well, +- 1
minute) at all times - even after power off.
Now I know my nokia GSM has an option to get the time from network so it can
be done - but how do I tell TC65 it should do it every once in a while?
Does it syncronize the time automatically?
AT command set documentation says:
---
<time> will be reset to its factory default if power is totally
disconnected. In this case, the clock starts with
<time>= "02/01/01,00:00:00" upon next power-up.
Each time TC65 is restarted it takes 2s to re-initialize the RTC and to
update the current time. Therefore, it is
recommended to wait 2s before using the commands AT+CCLK and AT+CALA (for
example 2s after
^SYSSTART has been output).
---
Does that mean that the module updates the time from the network 2s after
power-up?
Should I use AT+CCLK to set the time to the one I get from my server on the
Internet (GPRS)?
Another thing: is the time on RTC always UTC? I will be using J2ME
Date.getTime() to get the number of milliseconds from epoch... Will the
time be exact or should I worry about it?
I just need the accurate UTC time. :)
Any help would be appreciated.
Kind regards,
Anze
.
- Follow-Ups:
- Re: GSM network time
- From: Paul Gotch
- Re: GSM network time
- Prev by Date: Re: Source code for CAN Implementations
- Next by Date: Re: CAN Bus Off problem
- Previous by thread: LPC900 - External Interrupt 1
- Next by thread: Re: GSM network time
- Index(es):