Specifications

Chapter 4 – Serial Interface Control Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 69
Once the Master Phone Code has been acctepted, the mobile is operational and the “PS” lock is
no longer active. If needed it must be set once again with AT+CLCK.
“P2“ SIM PIN 2; e.g., required for authentication with facility lock “FD” (cf. AT+CLCK).
If incorrectly entered three times, the SIM PUK 2 is required to perform authentication.
Input of the SIM PUK 2 password is possible only with AT command AT+CPIN2 or ATD. For
further detail please refer to Section 5.1.1, What to do if PIN or password authentication fails?.
<password length>: 4 to 8 digits.
Factory-Defined SIM Locks:
Typical examples of factory set SIM locks are prepaid phones or network locks, used to restrict the operation of a
mobile to a specific provider or operator. The client should be aware that each of these lock types can only be
unlocked if the associated password is available. For example, a mobile can be locked to accept only SIM cards
from the respective provider, or even one single SIM card. Once a different SIM card is inserted the ME will
prompt the client to enter a specific code. This is not the PUK of the SIM card, but usually an 8-digit code which
needs to be requested from the provider.
The locks can only be set by the manufacturer and need to be agreed upon between the parties concerned; e.g.,
provider, operator, distributor etc. on the one side and the manufacturer on the other side.
“PF“ Lock Phone to the very First SIM card – Not applicable.
“PN“ Network Personalization
“PU“ Network subset Personalization
“PP“ Service Provider Personalization
“PC“ Corporate Personalization
Supplementary Service Call Barring:
Supplementary Service “Call Barring” allows to specify conditions under which calls will be disallowed by the
network. The availability of the Supplementary Services varies with the network. To benefit from call barring the
client will need to subscribe them, though a limited number of call barring types may be included in the basic
tariff package.
<password length>: The Network Password needs to be supplied from the network provider or network operator.
Usually there is one 4 digit password which applies to all call barring options. For details contact your provider.
“AO“ BAOC (Bar All Outgoing Calls)
“OI“ BOIC (Bar Outgoing International Calls)
“OX“ BOIC-exHC (Bar Outgoing International Calls except to Home Country)
“AI“ BAIC (Bar All Incoming Calls)
“IR“ BIC-Roam (Bar Incoming Calls when Roaming outside the home country)
“AB“ All Barring services
“AG“ All outGoing barring services
“AC“ All inComing barring services
<password length>
4...8 Length of password. The range of permitted length for a password depends on the associated
<facility>. It is available from the test command response or in the description of <facility>.
<old password>
Password specified for the facility.
Parameter <old password> can be ignored if no old password was allocated to the facility.
Take into account that a password may have already been set by factory, or that the service is subject to a
password issued by the provider. See notes above or contact provider.
<new password>
New password. Mandatory, if <old password> was an unblocking key (such as the Master Phone Code).
Notes:
When changing PIN2 (<facility>=”P2”), it is recommended to check the new state of PIN2 by using AT+CPIN2.
In the airplane mode the write command version for the network related <facility> (AO, OI, OX, AI, IR, AB, AG and
AC) is not supported. For remaining facilities the command is fully functional then.
Examples
Example 1: To change PIN2
AT+CPWD=”P2”,”0000”,”8888” (where “0000” = old PIN2 and “8888” = new PIN2)
OK PIN2 Password has been changed to “8888”
Example 2: To set password used to enable or disable barring of all outgoing calls:
AT+CPWD=”AO”,”0000”,”3333” Requests the network to change the password for supplementary service “call
barring”.
OK Usually this request will affect all barring services, even though the request is
issued for Supplementary Service BAOC (“Barring of all outgoing calls”) only.
Refer to the respective network provider for detail.
Example 3: Handling of the “PS” lock password
AT+CMEE=2 Enable text output of CME Error information
AT+CPWD=”PS”,”1111”,”2222” (where “1111” = old password and “2222” = new password)
OK Password for facility “PS” is now “2222”
AT+CPWD=”PS”,”1111”,”2222” Repeat command to provoke error “incorrect password”
+CME ERROR: incorrect password (“1111” is no longer the correct password)