Telit Wireless Solutions GE863 GPS Receiver User Manual


 
GE863-GPS Software User Guide
1vv0300724 Rev. 2 - 24/01/07
3.7.1.1 Regulate the Clock
Send command
AT+CCLK="<time>"<cr>
where:
<time> - current time as quoted string in the format : "yy/MM/dd,hh:mm:ss±zz"
yy - year (two last digits are mandatory), range is 00..99
MM - month (two last digits are mandatory), range is 01..12
dd - day (two last digits are mandatory), range is 01..31 (if the month MM has less than 31 days, the
clock will be set for the next month)
hh - hour (two last digits are mandatory), range is 00..23
mm - minute (two last digits are mandatory), range is 00..59
ss - seconds (two last digits are mandatory), range is 00..59
±zz - time zone (indicates the difference, expressed in quarter of an hour, between the local time and
GMT; two last digits are mandatory), range is -47..+48
NOTE: If the parameter is omitted the behavior of Set command is the same as Read command.
wait for response
OK
TIP: Remember that the string time has to be encapsulated in double brackets.
NOTE: The time will start immediately after the time setting command.
For example:
1- Let's assume you want to regulate your clock to 7 November 2002 at 12h 24m 30s for the time zone
+01h central Europe:
command:
AT+CCLK="02/11/07,12:24:30+04"<cr>
response:
OK
In this case, the time was successfully set.
3.7.1.2 Read the current date/time
Send command AT+CCLK?<cr>
wait for response in the format:
+CCLK: <time>
OK
NOTE: the three last characters of <time> are not returned by +CCLK? because the ME doesn’t
support time zone information.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 82 of 109