AC75 AT Command Set
5.1 AT+CPIN s
AC75_ATC_V01.002 Page 126 of 569 10/30/06
Confidential / Released
Notes
Successful PIN authenticatio n only confirms that the entered PIN was recognized and correct. The output of
the result code OK does not necessarily imply that the mobile is registered to the desired network.
Typical example: PIN was entered and accepted with OK, but the ME fails to register to the network. This may
be due to missing network coverage, denied network access with currently used SIM card, no valid roaming
agreement between home network and currently available operators etc.
AC75 offers various options to verify the present status of network registration: For example, the AT+COPS
command indicates the currently used network. With AT+CREG you can also check the current status and acti-
vate an unsolicited result code which appears whenever the status of the network registration changes (e.g.
when the ME is powered up, or when the network cell changes).
<pin> and <new pin> can also be entered in quotation marks (e.g. "1234").
To check the number of remaining attempts to enter the passwords use the AT^SPIC command.
•See AT+CPWD and AT^SPWD for information on passwords.
•See AT+CLCK and AT^SLCK for information on lock types.
5.1.1 What to do if PIN or password authentication fails?
PIN1 / PUK1:
After three failures to enter PIN 1, the SIM card is blocked (except for emergency calls). +CME ERROR: 12 will
prompt the client to unblock the SIM card by entering the associated PUK (= PIN Unblocking Key / Personal
Unblocking Key). After ten failed attempts to enter the PUK, the SIM card will be invalidated and no longer oper-
able (the device will respond with: +CME ERROR: 770, which stands for: SIM invalid - network reject). In such
a case, the card needs to be replaced. PIN1 consists of 4 to 8 digits, PUK1 is an 8-digit code only.
To unblock a disabled PIN1 you have two options:
You can enter AT+CPIN=PUK1,new PIN1.
You can use the ATD command followed by the GSM code **05*PUK*newPIN*newPIN#;.
PIN2 / PUK2:
PIN2 prevents unauthorized access to the features listed in AT+CPIN2. The handling of PIN2 varies with the pro-
vider. PIN2 may either be a specific code supplied along with an associated PUK2, or a default code such as
0000. In either case, the client is advised to replace it with an individual code. Incorrect input of PUK2 will per-
manently block the additional features subject to PIN2 authentification, but usually has no effect on PIN1. PIN2
consists of 4 digits, PUK2 is an 8-digit code only.
To unblock a disabled PIN2 you have two options:
You can enter AT+CPIN2=PUK2,new PIN2.
You can use the ATD command followed by the GSM code **052*PUK2*newPIN2*newPIN2#;.
Phone lock:
If the mobile was locked to a specific SIM card (= "PS" lock or phone lock), the PUK that came with the SIM card
cannot be used to remove the lock. After three failed attempts to enter the correct password, ME returns +CPIN:
PH-SIM PUK (= response to read command AT+CPIN?), i.e. it is now waiting for the Master Phone Code. This
is an 8-digit device code associated to the IMEI number of the mobile which can only by obtained from the man-
ufacturer or provider. When needed, contact Siemens AG and request the Master Phone Code of the specific
module.
There are two ways to enter the Master Phone code:
You can enter AT+CPIN=Master Phone Code
You can use the ATD command followed by the GSM code *#0003*Master Phone Code#;.
Usually, theMaster Phone Code will be supplied by mail or e-mail. If the received number is enclosed in the *#
codes typically used for the ATD option, it is important to crop the preceding *#0003* characters and the
appended #.
Example: You may be given the string *#0003*12345678#. When prompted for the PH-SIM PUK simply enter
12345678.
If incorrectly input, the Master Phone Code is governed by a specific timing algorithm: (n-1)*256 seconds (see
table below). The timing should be considered by system integrators when designing an individual MMI.