Access

Example

AT+CPIN=?

OK

AT+CLCK="SC",1,"<correct PIN>"//Not case-sensitive

OK

The facility is enabled by the +CLCK command (Refer to “+CLCK, Facility Lock” on page 3-184)

AT+CPIN?

+CPIN: SIM PIN OK AT+CPIN="<correct PIN>"

OK AT+CPIN?

+CPIN: READY OK

The status of the SIM is still enabled, but the PIN is READY for this session.

The SIM is enabled per session. After power-up SIM must be unlocked again by using the +CLCK command.

The following case shows an example of three unsuccessful attempts at entering the PIN:

AT+CPIN?

 

+CPIN: SIM PIN

 

OK

 

AT+CPIN="<wrong pin>"

 

+CME ERROR: incorrect password

 

AT+CPIN="<wrong pin>"

 

+CME ERROR: incorrect password

 

AT+CPIN="<wrong pin>"

 

+CME ERROR: SIM PUK required

 

AT+CPIN?

 

+CPIN: SIM PUK

//PIN is blocked. The PUK is needed for unblocking.

OK

 

AT+CPIN="<PUK>","<NEW PIN>" //Enter PUK and new PIN OK

AT+CLCK="FD",1,"<wrong PIN2>" +CME ERROR: incorrect password AT+CLCK="FD",1,"<wrong PIN2>" +CME ERROR: incorrect password AT+CLCK="FD",1,"<wrong PIN2>" +CME ERROR: SIM PUK2 required

AT+CPIN?

 

+CPIN: SIM PUK2

//PIN2 is blocked. The PUK2 is needed for unlocking.

OK

 

AT+CPIN="<PUK2>","<NEW PIN2>" //Enter PUK2 and new PIN2

OK

3-180

G24-L AT Commands Reference Manual

April 15, 2008

Page 244
Image 244
PIONEERPOS G24-LC OK AT+CPIN? +CPIN Ready OK, At+Cpin? +Cpin Sim Pin, At+Cpin? +Cpin Sim Puk, AT+CPIN? +CPIN SIM PUK2