Just like to know if there are SEC, HOUR, … registers to access for the RTC or does one need to code the RTC using the millisecond timer that is available?
What is the maximum time in [ms’s] that the timer counts to? (u32 ?).
The RTC can be accessed through the +CCLK command.
It can be configured with a string of the format:
"yy/MM/dd,hh:mm:ss"
The result string is the same also when reading the current value.
There are two different resolutions for using timers:
100 ms and 18,5 ms, both with a u32 TimerValue. I’m afraid you cannot get better resolution than 18,5 ms.
But if you want longer time than u32 * 100 ms, then you can of course implement software timers yourself…
Additional RTC service is avalaible in Open AT 3.10, you can get the time and convert it with native funtions, but if you want to set the RTC clock you still have to use the AT+CCLK command.
Thanks jan
I will see with the two methods that u have told me.
But there is also an AT command in the module with the GPS part that set the GSM RTC with the GPS fixed time (AT+WGPSM=4)
But in the format of the response of this Command : there is no information about the indication of time zone. Have u some information about this.
GPS time is not directly GMT. The difference is ~13s at the time. Keep this in mind. On Q2501, we observed jumping the time from one to the other under some circumstances.
See en.wikipedia.org/wiki/Global_Positioning_System at “GPS time and date”.