beautypg.com

Examples: call barring – Siemens MC35 User Manual

Page 77

background image

AT Command Set

MC35_ATC_01_V03.02

Page 77 of 228

13.03.2002

To lock the mobile to the currently inserted SIM card, first specify 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 the
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:

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=4444

Bad password is given:

+CME ERROR: incorrect password