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.
194
14.2.1 Checking Whether the Command for Setting the System
Time Exists
Test
command
AT^CCLK=?
Function
Checks whether this command exists.
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>
14.2.2 Querying the Current System Time
Read
command
AT+CCLK?
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
command
AT+CCLK=<time>
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>