Huawei MG323 Recording Equipment User Manual


 
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.
49
Write
command
AT+CPWD=<fac>,<oldpwd>,<newpwd>
Function
Modifies the password (such as PIN) that corresponds to the locking
function of the device.
Response
z
In case of successful execution: <CR><LF>OK<CR><LF>
z
In case of an error related to the MT: <CR><LF>+CME ERROR:
<err><CR><LF>
Parameter description
<oldpwd>,<newpwd>: old password and new password; string; the maximum
length of password is specified by the <pwdlength> parameter; the characters inside
the string must be obtained from ‘0’–‘9’. Otherwise, an error is returned directly.
5.3.3 Examples
Example:
Run AT+CPWD to modify the PIN code.
AT+CLCK=“SC”,2 Query the locking status of the SIM
card.
+CLCK:0
OK
AT+CLCK=“SC”,1,“1234” Set the SIM card to the PIN locking
state.
OK
AT+CPWD=“SC”,“1234”,“1111” Modify the PIN code.
OK