At+cpin enter pin – Horner APG XLt OCS HE-GSM04 User Manual
Page 47

MAN4005-04-EN
GPRS / GSM MODEM Configuration
PAGE 47
5. AT+CPIN Enter PIN
AT+CPIN
Enter PIN
Command Function
Set command sends to the ME a password that is necessary before it can be operated 
(SIM PIN, SIM PUK, PH-SIM PIN, etc.). If no PIN request is pending, no action is taken 
towards ME and an error message, +CME ERROR, is returned to TE. If the PIN 
required is SIM PUK or SIM PUK2, the second pin is required. This second pin, 
Command Functional 
Group 
Phone Control
Command Format Query 
Response  
AT+CPIN=? 
OK 
Write Format 
Response  
AT+CPIN=<”pin”>,[<”newpin”>]
Read Format 
Response  
AT+CPIN? 
+CPIN: <code> 
OK 
or 
+CME ERROR: <err>  
Execution Format 
Response  
N/A 
N/A 
Parameter Values
READY ME is not pending for any password 
SIM PIN ME is waiting SIM PIN to be given  
SIM PUK ME is waiting SIM PUK to be given 
PH-SIM PIN ME is waiting phone-to-SIM card password to be given  
PH-FSIM PIN ME is waiting phone-to-very first SIM card password to be given
PH-FSIM PUK ME is waiting phone-to-very first SIM card unblocking 
password to be given  
SIM PIN2 ME is waiting SIM PIN2 to be given (this  is recommended to be 
returned only when the last executed command resulted in PIN2 authentication failure 
(i.e. +CME ERROR: 17); if PIN2 is not entered right after the failure, it is recommended 
that ME does not block its operation)  
SIM PUK2 ME is waiting SIM PUK2 to be given (this  is recommended to be 
returned only when the last executed command resulted in PUK2 authentication failure 
(i.e. +CME ERROR: 18); if PUK2 and new PIN2 are not entered right after the failure, it 
is recommended that ME does not block its operation) 
PH-NET PIN ME is waiting network personalization password to be given
PH-NET PUK ME is waiting network personalization unblocking password to be given
PH-NETSUB PIN ME is waiting network subset personalization password to be given
PH-NETSUB PUK ME is waiting network subset personalization unblocking password 
to be given 
PH-SP PIN ME is waiting service provider personalization password to be given
PH-SP PUK ME is waiting service provider personalization unblocking password to be 
given 
PH-CORP PIN ME is waiting corporate personalization password to be given
  
PH-CORP PUK ME is waiting corporate personalization unblocking password to be 
given  
Page 47 of 62 ECN # 956
