
GE863-GPS Software User Guide
1vv0300724 Rev. 2 - 24/01/07
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.
2 - the MODULE wakes up in "alarm mode" if at the alarm time it was off, otherwise it remains fully
operative. In both cases the MODULE issues an unsolicited code every 3s:
+ALARM: <text>
where
<text>
is the
+CALA
optional parameter previously set.
The device keeps on sending the unsolicited code every 3s until a
#WAKE
or
#SHDN
command is
received or a 90s timeout occurs. If the device is in "alarm mode" and it does not receive the
#WAKE
command within 90s then it shuts down. (default)
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 83 of 109