Huawei MG323 Recording Equipment User Manual


 
HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Commands for Hardware Control
Issue 02 (2010-11-23)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
192
<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
AT+CALA?
Function
Queries the set alarm clock.
Response
z
In case of successful execution:
<CR><LF>+ CALA: <time>[, <n>[, <type>[,
<text>]]]<CR><LF><CR><LF>OK<CR><LF>
z
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
z
In case of an error related to the MT: <CR><LF>+CME ERROR:
<err><CR><LF>
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
AT+ CALA=<time>[, <n>[, <type>[, <text>]]]
Function
Sets an alarm clock.
Response
z
In case of successful execution: <CR><LF>OK<CR><LF>
z
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
z
In case of an error related to the MT: <CR><LF>+CME ERROR:
<err><CR><LF>