Obile, Mc55 at command set – Siemens MC55 User Manual

Page 119

Advertising
background image

MC55 AT Command Set

5.4 AT+CLCK

s

m

obile

MC55_ATC_V01.05

Page 119 of 469

2/10/04

Confidential / Released

Examples

EXAMPLE 1

Lock SIM card (

<facility>

= "SC")

To query the status of the SIM card lock:

EXAMPLE 2

Phone lock (

<facility>

="PS")

To lock the ME to the currently insertd SIM card, first specify a password for

<facility>

"PS":

Optionally, if "PS" password was defined before, change existing password:

Then, activate the Phone Lock:

To operate the mobile with the SIM card for which "PS" lock was activated:

AT+CLCK="SC",1,"9999"

The "SC" parameter enables or disables the SIM PIN
authentication (PIN 1) when you power up the GSM
engine

OK

SIM card locked. As a result, SIM PIN 1 must be
entered to enable ME to register to the GSM net-
work.

AT+CLCK="SC",0,"9999"

Unlocks SIM card.

OK

When powered up, ME registers to the GSM network
without requesting SIM PIN1.
Note: Depending on the services offered by the pro-
vider, this feature is not supported by all SIM card
types. If so, the command returns ERROR when you
attempt to unlock the card.

AT+CLCK="SC",2

Query the status of SIM card lock.

+CLCK: 1

SIM card is locked. SIM PIN1 must be entered to
enable ME to register to the GSM network.

OK

AT+CPIN?

Make sure that PIN1 authentication is valid.

OK

AT+CPWD="PS",,"1234"

If "PS" lock has not been set before: enter new pass-
word.

OK

AT+CPWD="PS","1234","3333"

To replace existing "PS" password: Enter old and
new password.

OK

AT+CLCK="PS",1,"3333"

Locks the mobile to the current SIM card.

OK

AT+CPIN?

+CPIN: SIM PIN

OK

AT+CPIN="9999"

OK

No additional password is required for operation
(SIM recognized by mobile).

Advertising