Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
14
OK
Remarks
N/A
2.10 Modifying the Password of the PIN: +CPWD
Description
To modify the password of the lock function of the module
Format
AT+CPWD=<fac>,<oldpwd>,<newpwd><CR>
AT+CPWD=?<CR>
Parameter
<fac>:
"P2": SIM PIN2
"OI": Outgoing international calls
"AI": All incoming calls
"IR": Incoming calls when roaming outside the homing place
"SC": SIM card
"AO": All outgoing calls
"OX": All outgoing international calls except to the home country
"AB": All calling services
"AG": All outgoing call services
"AC": All incoming call services
<oldpwd>: Old password or code, string type
<newpwd>: New password or code, string type
Return
Value
<CR><LF>+CPWD: list of supported (<fac>,<pwdlength>)s<CR><LF>
<CR><LF>+CME ERROR: <err><CR><LF>
Example
AT+CPWD=?
+CPWD:
("SC",8),("P2",8),("AO",4),("OI",4),
("OX",4),("AI",4),("IR",4),("AB",4),
("AG",4),("AC",4)
OK
Query the service range of the PIN
password allowed by the module.
AT+CLCK="SC",1,"1234"
OK
AT+CPWD="SC","1234","4321"
OK
+EIND:128
AT+CPIN?
+CPIN: SIM PIN
OK
Enable the SIM card lock.
Modify the PIN code.
Restart the module.
Query if PIN code is required.
PIN code is required.