2 alarm function, 2 read the current date/time, At+cclk?<cr – Rainbow Electronics GM862-GPS User Manual
Page 89: 1 regulate the alarm time & behavior, At+cala="<time>",0,<type>,"<text>"<cr

GM862-GPS Software User Guide
1vv0300729 Rev. 5 - 05/07/07
Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved
page 89 of 120
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.
For example:
1- Let's assume you want now to read the current time:
command:
AT+CCLK?<cr>
response:
+CCLK="02/11/07,12:26:47"<cr>
OK
In this case the current date/time is: 7 November 2002 12h 26m 47s
3.7.2 Alarm function
Once the current time has been set, the alarm function can be setup.
3.7.2.1 Regulate the Alarm time & behavior
•
Send command
AT+CALA="<time>",0,<type>,"<text>"<cr>
where:
<time> is the Alarm time string in the same format of the clock setting command:
yy/MM/dd,hh:mm:ss±zz
where:
yy : two digits year (00-99)
MM : two digits month (01-12)
dd : two digits day (01-31)
hh : two digits hour (00-24)
mm : two digits minute (00-60)
ss : two digits seconds (00-60)
±zz: signed two digits timezone (-11 - +11)
<type> is the Alarm behavior:
0 - reserved for other equipment use.
1 - the MODULE simply wakes up fully operative as if the ON/OFF button had been pressed. If the
device is already ON at the alarm time, then it does nothing.