Multi-Tech Systems GPRS (MTMMC-G) User Manual

Page of 203
Chapter 7 – Security Commands 
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 
44 
 
Change Password   +CPWD 
Description: 
This command changes a password (PIN, call barring, NCK, etc.). The facility values (<fac>) are the 
same as for the +CLCK command with a “P2” facility to manage SIM PIN2.  
 
For the network lock (“PN”), unlocking is forbidden after 10 failed attempts to disable (unlock) the 
network lock with an incorrect password. 
Values:  
<fac> supported facilities: 
“PS”: SIM lock facility with an 8-digit password.  
“SC“: PIN enabled (<mode> = 1) / disabled (<mode> = 0) 
“AO”: BAOC (Barr All Outgoing Calls) 
“OI” : BOIC (Barr Outgoing International Calls) 
“OX”: BOIC-exHC (Barr Outgoing. International Calls except to Home Country) 
“AI” : BAIC (Barr All Incoming Calls) 
“IR” : BIC-Roam (Barr Inc.  When Roaming outside Home Country) 
“AB”: All Barring services 
“AG”: All outGoing barring services 
“AC”: All inComing barring services 
“P2”:   
“FD”: SIM Fixed Dialing Numbers (FDN) memory feature (PIN2 is required as <password>) 
“N” 
“U” 
“P” 
“C” 
<oldpwd>,<newpwd>   4 or up to 8 or 16 digits according to the facility. 
Syntax:    
AT+CPWD= <fac>, <oldpwd>, <newpwd> 
Command 
Possible responses
AT+CPWD=? 
Note: Possible values 
+CPWD: (“PS”,8),(“SC”,8),(“AO”,4),(“OI”,4),(“OX”,4), 
(“AI”,4),(“IR,4),(“AB”,4),(“AG”,4),(“AC”,4), 
(“P2”,8),(“FD”,8),("PN",8),("PU",8),("PP",8), ("PC",8) 
OK 
Note: CHV1/CHV2 must be on 8 digits maximum 
(4minimum) 
For call barring, on 4 digits maximum 
AT+CPWD=”SC”,1234,5555 
Note: Change PIN 
OK 
Note: PIN was correct 
AT+CPWD=”SC”,1234,5555 
Note: Change PIN 
+CME ERROR: 16 
Note: PIN was wrong 
AT+CPIN=5555 
Note: Enter PIN 
OK 
Note: PIN was correct 
AT+CPWD=”PN”,12345678,00000000 
Note: Change NCK 
OK 
Note: NCK changed for net lock