BGS2T AT Command Set
5.4 AT+CLCK
BGS2T_ATC_V01.301 Page 123 of 554 1/31/12
c
Notes
•The AT+CLCK command offers the full range of <class> parameters according to the 3GPP Technical Spec-
ifications. However, when you attempt to use a service option which is not provisioned or not yet subscribed
to, the setting will not take effect regardless of the response returned.
The responses in these cases vary with the network (for example "OK", "Operation not allowed", "Operation
not supported" etc.). To make sure check the extended error response with AT+CEER and the lock status with
<mode>=2.
• The command has been implemented with the full set of <class> parameters according to
3GPP TS 27.007 [35]. For actual applicability of a desired Call barring service to a specific service or service
group (a specific <class> value) please consult table A.1 of 3GPP TS 22.004 [17].
• If an outgoing Fax or Data Call is rejected due to an active ''call barring'' supplementary service, the call will
be terminated with result code NO CARRIER.
Under the same conditions, an outgoing Voice call will be terminated with result code NO DIALTONE.
• If an invalid <password> is entered several times in succession, a delay incremented after each failed
attempt will increase the time to wait before the input of the <password> is accepted. To avoid blocking the
serial interface the running AT+CLCK command is aborted after a short timeout and returns "+CME ERROR:
unknown" (+CME ERROR: 100). If then the AT+CLCK command is issued once again execution is denied
with "+CME ERROR: operation temporary not allowed" (+CME ERROR: 256). For details regarding the delay
see Section 5.1.1, What to do if PIN or password authentication fails?.
• If the user tries to set a lock although it is already active or, the other way round, tries to unlock an inactive
lock, the response will be OK, but the <password> will not be checked or verified.
Examples
EXAMPLE 1
Lock SIM card (<facility>= "SC")
To query the status of the SIM card lock:
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 network.
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 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
SIM card is locked. SIM PIN1 must be entered to enable ME to register
to the GSM network.
OK