User's Manual
Telit TRIZIUM Product Description
80264ST10007a Rev. 4– 09/09/04
Reproduction forbidden without DAI Telecom written authorization – All Right reserved – Right of modification reserved page 105 of 202
5.4.4.10 +CALA - Alarm Management
+CALA – Alarm Management
Execute command
Read command
AT+CALA?
Reports the current alarm time stored in the internal Real Time Clock, if present, in
the format:
+CALA: <time>,<n>,<type>[,<text>]
Write command
AT+CALA = [<time>
[,<n>[,<type>[,<text>]]]]
Stores in the internal Real Time Clock the current alarm time and settings defined by
the parameters <time>, <n>,<type>,<text>.
When the RTC time reaches the alarm time then the alarm starts, the behaviour of the
TRIZIUM depends upon the setting <type> and if the device was already ON at the
moment when the alarm time had come.
Parameter:
<time> - current alarm time in the format : "yy/MM/dd,hh:mm:ss±zz"
as defined for +CCLK command.
<type> - alarm behaviour type
0 - reserved for other equipment use.
1 - the TRIZIUM simply wakes up fully operative as if the ON/OFF pin had been
pressed. If the device is already ON at the alarm time, then it does nothing.
2 - the TRIZIUM wakes up in "alarm mode" if at the alarm time it was off,
otherwise it remains fully operative. In both cases the TRIZIUM issues an
unsolicited code every 3s:
+ALARM: <text>
Where <text> is the other +CALA 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)
3 - the TRIZIUM wakes up in "alarm mode" if at the alarm time it was off,
otherwise it remains fully operative. In both cases the TRIZIUM starts playing
the alarm tone on the selected path for the ringer (see command #SRP)
The device keeps on playing the alarm tone 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.
4 - the TRIZIUM wakes up in "alarm mode" if at the alarm time it was off,
otherwise it remains fully operative. In both cases the TRIZIUM brings the pin
GPIO6 high, provided its <direction> has been set to alarm output, and keeps it
in this state 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.
5 - the TRIZIUM will make both the actions as for type=2 and type=3.
6 - the TRIZIUM will make both the actions as for type=2 and type=4.
7 - the TRIZIUM will make both the actions as for type=3 and type=4.
<n> = 0 - index of the alarm
The only value supported for <n> is 0.
<text> - unsolicited alarm code text string
In the case that <type> is equal to 2 or 5 or 6, then the unsolicited text parameter
<text> can be set by this parameter.
Note: The "alarm mode" is indicated by hardware pin CTS to the ON status and DSR
to the OFF status, while the "power saving" status is indicated by a CTS - OFF and
DSR - OFF status. The normal operating status is indicated by DSR - ON.