Westermo GD-01 User Manual
Page 17
17
6196-2220
+CALA – Alarm Management
Description:
This command is used to set alarms date/time in the ME.
The maximum number of alarms is 16. Seconds are not taken into account.
Syntax:
AT+CALA=<date and time string> (set alarm)
AT+CALA=””,<index> (delete alarm)
<date and time string> is a string with the following format:
“yy/MM/dd,hh:mm:ss”
Valid years are 98 (for 1998) to 97 (for 2097).
The seconds field is not mandatory.
<index> is a number from 0 to 15.
Command example
Possible responses
Note
AT+CALA=
”00/06/09,07:30”
OK
Set an alarm for June 9th,
2000 at 7:30 am,
alarm stored
AT+CALA=
”99/03/05,13:00:00”
+CME ERROR 3
Invalid alarm
(date/time expired)
AT+CALA?
+CALA:
list all alarms Note: three
“00/06/08,15:25:00”,0
alarms are set
+CALA:
“00/06/09,07:30:00”,1
(index 0, 1, 2)
+CALA:
“00/06/10,23:59:00”,2
+CALA:
An alarm occurs (index 0)
“00/06/08,15:25:00”,0
AT+CALA=””,2
OK
Delete alarm index 2
Note: Alarm index 2
deleted
AT+CALA? +CALA:
“00/06/09,07:30:00”,1
List all alarms,
only one alarm (index 1)
B A C K