Specifications
SIM900 AT Command Manual       
SIM900_AT Command Manual_V1.03  72  12/24/2010 
software when reading string lengths. 
Reference 
GSM 07.07 [13] 
Note 
3.2.28 AT+CPIN Enter PIN 
AT+CPIN Enter PIN 
Test Command 
AT+CPIN=? 
Response 
OK 
Response 
TA returns an alphanumeric string indicating whether some password is 
required or not. 
+CPIN: <code> 
OK 
Read Command 
AT+CPIN? 
Parameter 
<code> 
READY     MT is not pending for any password 
   SIM PIN    MT is waiting SIM PIN to be given 
   SIM PUK   MT is waiting for SIM PUK to be given 
   PH_SIM PIN ME is waiting for phone to SIM card (antitheft) 
   PH_SIM PUK ME is waiting for SIM PUK (antitheft) 
SIM PIN2  PIN2, e.g. for editing the FDN book possible 
only if preceding Command was acknowledged 
with +CME ERROR:17 
SIM PUK2  possible only if preceding Command was 
acknowledged with error +CME ERROR: 18. 
Response 
TA stores a password which is necessary before it can be operated (SIM 
PIN, SIM PUK, PH-SIM PIN, etc.). 
If the PIN required is SIM PUK or SIM PUK2, the second pin is required. 
This second pin, <new pin>, is used to replace the old pin in the SIM. 
OK 
If error is related to ME functionality: 
+CME ERROR: <err> 
Write Command 
AT+CPIN=<pin> 
[, <new pin>] 
Parameters 
<pin>     string type; password 
<new pin>        string type; If the PIN required is SIM PUK or SIMPUK2: 
new password 
Reference  Note 










