HUAWEI MG323 GSM M2M Module
AT Command Interface Specification
<type>: integer, which indicates the type of the set alarm clock. The value of this
parameter is as follows:
0: alarm clock reporting (text message)
<tlength>: integer, which indicates the maximum length of text. Value range: 0–16.
Default value: 16.
14.1.2 Querying the Set Alarm Clock
Read
command
Function
Response
Note:
The ME can set only one alarm clock at one time. When the second alarm clock is set, the
setting of the first alarm clock is deleted. Therefore, during query, the value of <n> is always 0.
Parameter description
<time>: string, which indicates the alarm time to be set. The format is
"yy/MM/dd,hh:mm:ss".
<text>: string, which indicates the text to be displayed when the alarm clock timer
expires. The default value is a null string.
14.1.3 Setting an Alarm Clock
Write
command
Function
Response
Issue 02 (2010-11-23)
AT+CALA?
Queries the set alarm clock.
In case of successful execution:
<CR><LF>+ CALA: <time>[, <n>[, <type>[,
<text>]]]<CR><LF><CR><LF>OK<CR><LF>
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
In case of an error related to the MT: <CR><LF>+CME ERROR:
<err><CR><LF>
AT+ CALA=<time>[, <n>[, <type>[, <text>]]]
Sets an alarm clock.
In case of successful execution: <CR><LF>OK<CR><LF>
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
In case of an error related to the MT: <CR><LF>+CME ERROR:
<err><CR><LF>
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Commands for Hardware Control
192