HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Hardware Control

14.2.1Checking Whether the Command for Setting the System Time Exists

Test AT^CCLK=? command

Function Checks whether this command exists.

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>

14.2.2Querying the Current System Time

Read

AT+CCLK?

command

 

Function

Queries the current system time.

Response

z In case of successful execution:

 

<CR><LF>+CCLK: <time><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>

Parameter description

<time>: string, which indicates the current system time of the ME. The format is "yy/MM/dd,hh:mm:ss".

14.2.3 Setting the System Time

Write

AT+CCLK=<time>

command

 

Function

Sets the system time.

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>

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

194

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 211
Image 211
Huawei MG323 manual Querying the Current System Time, Setting the System Time, Test ATCCLK=? command, At+Cclk?