Specifications

TC35i AT Command Set
Confidential / Released
TC35i_ATC_V01.05 Page 134 of 278 04.08.2003
4.36 AT+CPIN2 Enter PIN2
Test command
AT+CPIN2=?
Response
OK
Read command
AT+CPIN2?
Response
TA returns an alphanumeric string indicating whether some password is required
or not.
+CPIN2: <code> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<code> READY ME is not pending for any password
SIM PIN2 ME is waiting for SIM PIN2.
This <code> is returned only when PIN2 authenti-
cation has not yet been done or has failed (+CME
ERROR:17).
SIM PUK2 ME is waiting for SIM PUK2.
This <code> is returned only when PIN2 authenti-
cation has failed and ME is pending for SIM PUK2
(i.e. +CME ERROR:18).
Write command
AT+CPIN2=
<pin>[,<new
pin>]
Response
The write command lets the ME store the entered password. This may be for ex-
ample the SIM PIN2 to benefit from the features listed below, or the SIM PUK2 to
replace a disabled PIN2 with a new one. Note that PIN2 can only be entered if
PIN1 authentication was done.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<pin> Password (string type), usually SIM PIN2 or, if requested, SIM PUK2
<new pin> If the ME is waiting for SIM PUK2, use <pin> to enter the SIM PUK2,
followed by <newpin> to specify the new PIN2.
See Chapter 4.35.1 for more information about when you may need
to enter the PUK2.
Reference Note
Functions dependant on SIM PIN2 validation:
· AT+CACM: Accumulated call meter (reset ACM value)
· AT+CAMM: Accumulated call meter maximum (set ACMmax value)
· AT+CLCK: Facility lock to "FD" (activate Fixed dialing phone book)
· AT^SLCK: Facility lock to "FD" (activate Fixed dialing phone book)
· AT+CPWD: Change "P2"password (specify new PIN2, unblock disabled PIN2)
· AT^SPWD: Change "P2"password (specify new PIN2, unblock disabled PIN2)
· AT+CPUC: Price per unit and currency table (change currency or units)
· AT+CPIN2: Enter SIM PIN2 or SIM PUK2 if requested.
· Edit Fixed dialing phone book: PIN2 validation must be performed before write
access to the “FD” phone book is allowed.
Once the required <pin> has been entered correctly, PIN2 authentication code
changes to READY. After 300s, a repetition of the authentication process is re-
quired (PIN2 authentication code changes from READY to SIM PIN2).