HUAWEI MG323 GSM M2M Module
AT Command Interface Specification
Commands for Security Control
Issue 02 (2010-11-23)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
47
<passwd>: string, which can be or may not be placed inside quotation marks. This
parameter corresponds to the password of
<fac>
and can be modified through
+CPWD
. When
mode
is set to
0
or
1
, this parameter is mandatory. When
mode
is
set to
2
, no password is required. The characters inside the string must be obtained
from ‘0’–‘9’. Otherwise, an error is returned directly.
<class>: integer, which indicates the service type.
z
1: voice call (not supported currently)
z
2: data
z
4: fax (not supported currently)
z
7: voice+data+fax (not supported currently)
5.2.3 Examples
Example 1:
Lock the SIM card.
AT+CLCK=“SC”,1,“1234”
OK
Example 2:
Unlock the SIM card.
AT+CLCK=“SC”,0,“1234”
OK
Example 3:
Query the locking status of the SIM card.
AT+CLCK=“SC”,2
+CLCK: 0
OK
5.3 AT+CPWD - Command for Modifying the Password
The
AT+CPWD
command modifies the password.