Specifications

Chapter 5 – Security Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 85
Example 4: To specify a new “PS” lock password
To specify a new “PS” lock password, after the old password was disabled (e.g., after three failed attempts to
change the “PS” password): use the master phone code.
CAUTION: THIS TEST SHOULD BE PERFORMED ONLY IF THE CORRECT MASTER PHONE CODE FOR
THE INDIVIDUAL ME USED IS DEFINITELY AVAILABLE! Otherwise, the module used will be rendered useless
until the correct master phone code is entered:
AT+CPWD=”PS”,”12345678”,”1111” where 12345678 is the Master Phone Code and 1111 is the new
password. You may also use <new password> to restore the
former disabled password.
OK
Alternatively, without giving a new password:
AT+CPWD=”PS”,”12345678” (where 12345678 is the Master Phone Code). Deactivates the
present phone lock.
OK
5.7 AT^SPWD Change Password
Description: The AT^SPWD command comprises all functions of the AT+CPWD command. Apart from the
different prefixes "^SPWD" and "+CPWD", the major difference is that the <facility> list of
AT^SPWD includes the additional "CM" password dedicated to the Customer SIM Lock. Set
with the command AT^SCSL, this type of lock allows the application manufacturer to lock a
mobile to specific operators. However, at this time customer SIM locks are not supported.
The Customer SIM Lock feature is designed to be configurable during the production of the
mobile application. Therefore, to program the "CM" password, the AT^SPWD write command
can be used no matter whether the SIM is inserted or PIN authentication has been done.
Opposite to that, passwords for all other facilities can only be edited if the SIM is present and
PIN authentication completed.
IMPORTANT: Please note that, even though there is no need for a factory set Customer SIM
Lock, you are strongly advised to specify at least a "CM" password, avoiding that end users
ever have a chance to activate this lock type.
Each password is a string of digits the length of which varies with the associated facility. The
test command returns a list of pairs which represent the available facilities and the maximum
length of the associated password.
See also AT commands AT+CLCK and AT^SLCK for more detail on the various lock features.
Syntax: Test Command: AT^SPWD=?
Response: ^SPWD : list of supported (<facility>, <password length>)
OK
Write Command: AT^SPWD=<facility>[,<old password>][, <new password>]
Response: New password has been registered for the facility lock function:
OK
If parameter <old password> was not correct:
+CME ERROR 16 (+CME ERROR: incorrect password)
If the password for the selected <facility> has been invalidated due to too
many failed attempts: +CME ERROR ...
When trying to set a “CM” password even though another type of factory set
SIM lock is already active:
+CME ERROR: Operation not supported.
If error is related to ME functionality:
+CME ERROR: <err>
Parameters:
<facility>
“CM“ Password used as Customer Mastercode for Customer SIM Lock.
Defining the "CM" password allows the application manufacturer to set a
Customer SIM Lock by activating a Network Personalization ("PN") with the
AT^SCSL command. The "CM" password is mandatory for each operation
with AT^SCSL.
<password length> of "CM": 8 digits.
To delete the "CM" password use the following syntax:
AT^SPWD=<facility>,<old password>. Please note that this action will delete
all personalization data programmed by the manufacturer with AT^SCSL
(including the operator list).
A description of all other passwords commonly supported by AT+CPWD and
AT^SPWD can be found in Section 5.6, AT+CPWD. The "CM" password
cannot be edited with AT+CPWD.