AT Command Set
MC35_ATC_01_V05.00 Page 91 of 256 15.07.2002
4.21.2 Examples: Phone lock Example 1
Be sure that PIN 1 authentication is valid:
AT+CPIN?
+CPIN: SIM PIN
OK
AT+CPIN=9999
OK
To lock the mobile to the currently inserted SIM card, first spec ify a password (=
a phone code):
AT+CPWD="PS",,1234 If "PS" lock has not been set before: enter new
OK password.
or:
AT+CPWD="PS",1234,3333 To replace existing "PS" password: Enter old
OK and new one.
Then, activate the phone lock:
AT+CLCK="PS",1,3333 Locks the mobile to the current SIM card.
OK
Example 2
To deactivate the phone lock:
AT+CLCK="PS",0,3333 Enter lock type "PS", followed by 0 to lift the
OK lock. Then type "PS" lock password.
As a result, the mobile accepts any SIM card and can be operated after th e
card's SIM PIN 1 was entered.
Example 3 To operate the mobile with the SIM card for which "PS" lock was activated:
AT+CPIN? Enter SIM PIN used when locking the mobile.
+CPIN: SIM PIN "PS"lock password is not needed.
AT+CPIN=9999
OK
Example 4 To operate the mobile with other SIM card than the one used for the "PS" lock:
Enter SIM PIN of present card, followed by "PS" lock password.
AT+CPIN? Enter SIM PIN of present SIM card.
+CPIN: SIM PIN
AT+CPIN=1111
OK SIM PIN accepted.
AT+CPIN?
+CPIN: PH-SIM PIN "PS" lock password is required.
AT+CPIN=3333
OK "PS" lock password has been accepted.
Example 5 Attempt to unblock the "PS" lock using an invalid password: