Specifications
SIM900 AT Command Manual
SIM900_AT Command Manual_V1.03 124 12/24/2010
6.2.5 AT+CALA Set Alarm Time
AT+CALA Set Alarm Time
Response:
+CALA: ("yy/mm/dd,hh:mm:ss","hh:mm:ss"),(1-5),(0-7)
OK
If error is related to ME functionality:
+CME ERROR: <err>
Test Command
AT+CALA=?
Parameters
See Write Command
Response:
+CALA: <time>,<n1>,[<recurr>]
(<CR><LF> +CALA: <time>,<n2>,[<recurr>] …)
OK
If error is related to ME functionality:
+CME ERROR: <err>
Read
Command
AT+CALA?
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write
Command
AT+CALA=
<time>,<n>,[<
recurr>]
Parameters
<time> a string parameter(string should be included in quotation marks)
which indicates the time when alarm arrives. The format is
"yy/MM/dd,hh:mm:ss" where characters indicate the last two digits
of year, month, day, hour, minute, second and time zone. The time
zone is expressed in quarters of an hour between the local time and
GMT, ranging from -48 to +48.
<n> index of the alarm (range 1 to 5 for now).
<
recurr> "0", "1"---"7" string type value indicating day of week for the
alarm in one of the following formats:
"<1..7>[,<1..7>[…]]" – Set a recurrent alarm for one or more days
in the week. The digits 1 to 7 correspond to the days in the week,
Monday (1), …, Sunday (7).
Example: The string "1,2,3,4,5" may be used to set an alarm for
all weekdays.
"0" – Set a recurrent alarm for all days in the week
Reference Note