12 alarm management - +cala – Rainbow Electronics GM862-QUAD-PY User Manual

Page 133

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 133 of 434

+CCLK - Clock Management

SELINT 2

returned by +CCLK? only if the #NITZ URC ‘extended’ format has been
enabled (see #NITZ).

AT+CCLK=?

Test command returns the OK result code.

Example

AT+CCLK="02/09/07,22:30:00+00"
OK

AT+CCLK?
+CCLK: 02/09/07,22:30:25

OK

Reference GSM

07.07

3.5.4.4.12 Alarm Management - +CALA

+CALA - Alarm Management

SELINT 0 / 1

AT+CALA[=
<time>[,<n>[,<type>
[,<text>[,<recurr>
[,<silent>]]]]]]

Set command stores in the internal Real Time Clock an alarm time with
respective settings. It is possible to set up a recurrent alarm for one or more
days in the week.
Currently just one alarm can be set.

When the RTC time reaches the alarm time then the alarm starts, the
behaviour of the MODULE depends upon the setting <type> and if the
device was already ON at the moment when the alarm time had come.

Parameters:
<time> - current alarm time as quoted string
“” - (empty string) deletes the current alarm and resets all the +CALA

parameters to the “factory default” configuration

"hh:mm:ss±zz" - format to be used only when issuing +CALA with

parameter <recurr> too.

"yy/MM/dd,hh:mm:ss±zz" - generic format: it’s the same as defined for

+CCLK (see)

<n> - index of the alarm
0 - The only value supported is 0.
<type> - alarm behaviour type
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 (default).

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:

+CALA: <text>

where <text> is the +CALA optional parameter previously set.

The device keeps on sending the unsolicited code every 3s until a

Advertising