User's Manual

Telit TRIZIUM Product Description
80264ST10007a Rev. 4– 09/09/04
Reproduction forbidden without DAI Telecom written authorization – All Right reserved – Right of modification reserved page 98 of 202
5.4.4.3 +CPIN - enter PIN
+CPIN – enter PIN
Execute command
Read command
AT+CPIN?
Reports the PIN/PUK/PUK2 request status of the device in the form:
+CPIN:<code>
where <code> is the PIN/PUK/PUK2 request status code:
READY - device is not pending for any password
SIM PIN - device is waiting SIM PIN to be given
SIM PUK - device is waiting SIM PUK to be given
SIM PIN2 - device is waiting SIM PIN2 to be given; this <code> is returned
only when the last executed command resulted in PIN2 authentication failure (i.e.
+CME ERROR: 17)
SIM PUK2 - device is waiting SIM PUK2 to be given; this <code> is returned
only when the last executed command resulted in PUK2 authentication failure (i.e.
+CME ERROR: 18)
PH-NET PIN - device is waiting network personalization password to
be given
PH-NETSUB PIN - device is waiting network subset personalization
password to be given
Note: Pin pending status at startup depends on PIN facility setting, to change or query
the default power up setting use the AT+CLCK=SC,<mode>, <pin> command.
Write command AT+CPIN =
<pin>[,<newpin>]
Sends to the device a password (SIM PIN, SIM PUK, PH-SIM PIN, etc.) which
may be required to further operate the device.
If the PIN required is SIM PUK or SIM PUK2, the <newpin> is required. This
second pin, <newpin>,will replace the old pin in the SIM.
The command may be used to change the SIM PIN by sending it with
both parameters <pin> and <newpin> when if PIN request is pending;
if no PIN request is pending the command will return an error code and
to change the PIN the command +CPWD must be used instead.
Parameters: <pin>, <newpin>
Note: the only commands which are accepted when device is pending SIM PIN, SIM
PUK, or PH-SIM are: +CGMI, +CGMM, +CGMR, +CGSN, D112; (emergency call),
+CPAS, +CPIN.
To check the status of the PIN request use the command AT+CPIN?
Test command
Example AT+CMEE=1
OK
AT+CPIN?
+CME ERROR: 10 (error because you have to insert the SIM)
AT+CPIN?
+CPIN: READY (this response is after you have inserted the SIM)
OK
Reference GSM 07.07
SW release
Version A