HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Hardware Control

<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

AT+CALA?

command

 

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 AT+ CALA=<time>[, <n>[, <type>[, <text>]]] command

Function Sets an alarm clock.

Response z In case of successful execution: <CR><LF>OK<CR><LF>

zIn case of an error during command execution: <CR><LF>ERROR<CR><LF>

zIn case of an error related to the MT: <CR><LF>+CME ERROR: <err><CR><LF>

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

192

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 209
Image 209
Huawei MG323 manual Querying the Set Alarm Clock, Setting an Alarm Clock, At+Cala?