HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Security Control

Write AT+CPWD=<fac>,<oldpwd>,<newpwd> command

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>

zIn 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

 

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

49

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 66
Image 66
Huawei MG323 manual Example Run AT+CPWD to modify the PIN code, Card, +CLCK0