Specifications
AT Command Set
TC35-ATC-01-V02.10 Page 49/145 02.10 / 23.05.2001
4.2 AT+CALA Set alarm time
Test command
AT+CALA=?
Test command returns supported array index values <n>, alarm types <type>, and
maximum length of the text <tlength> to be output.
Response
+CALA: (list of supported <n>s), (list of supported <type>s), (range of supported
<tlength>) OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See write command
Read command
AT+CALA?
Read command returns the list of current active alarm settings in the ME.
Response
+CALA: <time>[,<n>[,<type>[,<text>]]]
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See write command
Write command
AT+CALA=<ti
me>[,<n>[,<typ
e>
[,<text>]]]
The write command sets an alarm time in the ME. The alarm is retained only
when (and if!) the device enters the power-down mode via AT^SMSO (pg. 120).
The alarm set is lost in case of total power-disconnection. However, in this case
the clock starts with <time> = “00/01/01,00:00:00” on next power-up (see
+CCLK, pg. 54).
Response
OK
If setting fails in an ME error:
+CME ERROR: <err>
Refer subclause 7.1, pg. 134, for <err> values.
Parameter
<time> string type value; format is "yy/MM/dd,hh:mm:ss", where characters
indicate year (two last digits), month, day, hour, minutes.
E.g. 6
th
of May 1994, 22:10:00 hours equals to “94/05/06,22:10:00"
(refer +CCLK).
<n> integer type value indicating the array index of the alarm. Index starts
with 0. If only this value is returned by the test command, it is default
and indicates that only one alarm time is possible; however, if a
second alarm time is set, the previous alarm is deleted.
<type> integer type value indicating the type of the alarm
0 Alarm indication: text message via serial interface
<text> string type value indicating the text to be displayed when alarm time
is reached; maximum length is <tlength>. After first connection to
power supply <text> is undefined.
Note: <text> will be stored in non-volatile flash memory when the
device enters the power-down mode via AT^SMSO (pg. 120). <text>