Specifications

Chapter 18 – Hardware-Related Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 227
<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>.
By factory default, <text> is undefined.
Note: <text> will be stored to the non-volatile flash memory when the device enters the Power Down mode via
AT^SMSO. Once saved, it will be available upon next power-up, until you overwrite it by typing another text. This
eliminates the need to enter the full string when setting a fresh alarm.
<text> should not contain characters which are coded differently in ASCII and GSM (e.g., umlauts). See also
“Supported character sets” and “GSM alphabet tables”.
<tlength>
Integer type value indicating the maximum length of <text>. The maximum length is 16.
Notes:
After the alarm was executed the parameter <time> of AT+CALA will be reset to “00/01/01,00:00:00”, but
<text> will be preserved as described above.
If the Multi-Tech wireless modem is totally disconnected from power supply, the most recently saved
configuration of +CALA:
<time>[,<n>[,<type>[,<text>]]] will be presented when the Multi-Tech wireless modem is powered up.
Each time the Multi-Tech wireless modem is restarted it takes 2s to re-initialize the RTC and to update the
current time. Therefore, it is recommended to wait 2s before using the commands AT+CCLK and AT+CALA
(for example 2s after ^SYSSTART has been output).
Alarm settings on ASC0 and Multiplexer channels (see AT+CMUX):
On each interface an individual <text> message can be stored, but only one time setting applies. This
means an alarm <time> set on one of the interfaces overwrites the time setting on all remaining interfaces.
Therefore, the total number of alarm events returned by the read command AT+CALA? will always be
<n>=0, no matter whether different text messages are stored.
When the alarm is timed out and executed, the ME sends the URC only on the interface where the most
recent alarm setting was made. The alarm time will be reset to “00/01/01,00:00:00” on all interfaces.
Examples:
Example 1
You may want to configure a reminder call for July 31, 2005, at 9.30h, including the message “Good Morning”.
AT+CALA=”05/07/31,09:30:00”,0,0,”Good Morning”
OK
Do not switch off the GSM engine. When the alarm is executed the ME returns the following URC:
+CALA: Good Morning
Example 2
To set a fresh alarm using the same message as in Example 1, simply enter date and time. <n>, <type>, <text>,
<tlength> can be omitted:
AT+CALA=”05/07/31,08:50:00”
OK
When the alarm is executed the URC comes with the same message:
+CALA: Good Morning
Example 3
To enable the ME to wake up into Airplane mode; e.g., on July 20, 2005, at 8.30h, enter:
AT+CALA="05/07/20,08:30:00"
OK
Next, power down the ME:
AT^SMSO
^SMSO: MS OFF
OK
^SHUTDOWN
When the alarm is executed the ME wakes up to Airplane mode and displays a URC. If available, this line is
followed by the individual <text> most recently saved. If no individual message was saved only the first line
appears.
"^SYSSTART AIRPLANE MODE"
+CALA: Good Morning
Example 4
To delete an alarm before its scheduled time is reached, enter an empty string for the <time> parameter. This will
restore the default time and clear any individual message defined with <text>.
AT+CALA=” “
OK
AT+CALA?
+CALA: “00/01/01, 00:00:00” , 0,0, “ “