Ac75 at command set – Siemens AC75 User Manual

Page 133

Advertising
background image

AC75 AT Command Set

5.3 AT^SPIC

s

AC75_ATC_V01.002

Page 133 of 569

10/30/06

Confidential / Released

EXAMPLE 3

This example shows that after successful SIM PIN1 authentication the counter of the

AT^SPIC

execute and

read command refers to SIM PIN2, i.e. it does not reflect the status of SIM PIN1. This may be a problem if

the user enters a wrong PIN1 and is not aware that the number of attempts left to enter SIM PIN1 is counted

down.

To avoid conflicts we recommend to use the

AT^SPIC

read and write commands rather than the execute com-

mand only. The read command clearly states the currently required password, and the write command may

be used to get the counter for a specific

<facility>

, in this case for example "P2".

at+cpin=4714

+CME ERROR: incorrect password

at^spic

^SPIC: 63

OK

+CREG: 0

at+cpin=1234

OK

+CREG: 2

+CREG: 1

The mobile ist properly registered to the network.

at+cpin?

+CPIN: READY

The

AT+CPIN

? read command confirms that SIM

PIN1 authentication was successful.

at^spic

^SPIC: 3

As SIM PIN1 authentication was successful, the

counter relates to SIM PIN2 and correctly indicates

that the user has 3 attempts to enter SIM PIN2.

OK

AT^SPIC?

Likewise, the read command notifies that the ME is

waiting for SIM PIN2.

^SPIC: SIM PIN2

OK

at+clck="SC",0,456789

First attempt to enter a wrong SIM PIN1.

CME ERROR: incorrect password

at^spic

^SPIC: 3

SIM PIN1 authentication is still valid, and the counter

relates to SIM PIN2.

at+clck="SC",0,456789

Second attempt to enter a wrong SIM PIN1.

CME ERROR: incorrect password

at^spic

^SPIC: 3

SIM PIN1 authentication is still valid, and the counter

relates to SIM PIN2.

at+clck="SC",0,456789

Third attempt to enter a wrong SIM PIN1.

CME ERROR: incorrect password

+CREG: 0

SIM PIN1 authentication is no longer valid.

at^spic

^SPIC: 10

This time, after the SIM PIN1 code has been dis-

abled, the counter indicates the status of SIM PIN1

and notifies that 10 attempts are left to enter the SIM

PUK.

Advertising