![Gemalto Cinterion EHS6 Command Manual Download Page 126](http://html.mh-extra.com/html/gemalto/cinterion-ehs6/cinterion-ehs6_command-manual_2206684126.webp)
Cinterion
®
EHS6 AT Command Set
6.3 AT+CLCK
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 126 of 513
To query the status of the SIM card lock:
EXAMPLE 2
Phone lock (
To lock the ME to the currently inserted USIM card, first specify a password for
"PS":
Optionally, if "PS" password was defined before, change existing password:
Then, activate the Phone Lock:
To operate the mobile with the USIM card for which "PS" lock was activated:
To operate the mobile with other USIM card than the one used for the "PS" lock:
Enter SIM PIN of present card, followed by "PS" lock password.
To deactivate the Phone Lock:
AT+CLCK="SC",0,"9999"
Unlocks SIM card.
OK
When powered up, ME registers to the network without requesting SIM
PIN1.
Note: Depending on the services offered by the provider, 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
USIM card is locked. SIM PIN1 must be entered to enable ME to register
to the 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 password.
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 (USIM recognized by
mobile).
AT+CPIN?
+CPIN: SIM PIN
OK
AT+CPIN="1111"
OK
PIN authentication accepted.
AT+CPIN?
+CPIN: PH-SIM PIN
"PS" lock password is required.
OK
AT+CPIN="3333"
OK
"PS" Lock password has been accepted. ME is fully operational now.
AT+CLCK="PS",0,"3333"
Phone Lock password has to be provided again.
OK
Now the mobile can be used with any USIM card, without the need of
the phone lock password.