TC63 AT Command Set

5.4 AT+CLCK

s

64

dedicated packet access

128

dedicated PAD access

1...[7]...255

combination of some of the above classes.

 

For example, the default setting 7 represents the sum of the integers 1, 2 and

4 (voice, data and fax).

The value 255 covers all classes.

If parameter "class" is omitted, the default value 7 is used.

Notes

The AT+CLCK command offers the full range of <class> parameters according to the GSM specifications. However, when you attempt to use a service option which is not provisioned or not yet subscribed to, the set- ting 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 GSM 07.07. 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 GSM 02.04.

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 100 ("unknown"). If then the AT+CLCK command is issued once again execution is denied with CME ERROR 256 ("Operation temporary not allowed"). 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.

In the airplane mode the write command version for the network related <facility> (AO, OI, OX, AI, IR, AB, AG and AC) is not supported. For remaining facilities the command is fully functional then.

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 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.

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

 

 

 

TC63_ATC_V00.490

Page 121 of 501

5/24/05

Confidential / Draft - Do not copy

 

 

Page 121
Image 121
Siemens TC63 manual Mode=2, AT+CLCK=SC,1,9999, AT+CLCK=SC,0,9999, SIM PIN1, AT+CLCK=SC,2