MC55 AT Command Set

5.4 AT+CLCK

s

mobile

Examples

EXAMPLE 1

Lock SIM card (<facility>= "SC")

 

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.

 

To query the status of the SIM card lock:

 

 

 

 

 

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

 

 

 

 

EXAMPLE 2

 

 

Phone lock (<facility>="PS")

 

 

 

 

 

AT+CPIN?

Make sure that PIN1 authentication is valid.

 

OK

 

 

 

 

To lock the ME to the currently insertd SIM card, first specify a password for <facility> "PS":

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

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

 

word.

OK

 

 

 

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

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

To replace existing "PS" password: Enter old and

 

new password.

OK

 

 

 

Then, activate the Phone Lock:

 

 

 

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

Locks the mobile to the current SIM card.

OK

 

 

 

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

 

 

AT+CPIN?

 

 

 

 

 

+CPIN: SIM PIN

 

 

 

 

 

OK

 

 

 

 

 

AT+CPIN="9999"

 

 

 

 

 

OK

No additional password is required for operation

 

 

 

(SIM recognized by mobile).

 

 

 

 

 

 

 

 

MC55_ATC_V01.05

Page 119 of 469

2/10/04

Confidential / Released

 

 

 

Page 119
Image 119
Siemens MC55 manual AT+CLCK=SC,2, At+Cpin? +Cpin Sim Pin