Obile, Mc55 at command set – Siemens MC55 User Manual

Page 112

Advertising
background image

MC55 AT Command Set

5.3 AT^SPIC

s

m

obile

MC55_ATC_V01.05

Page 112 of 469

2/10/04

Confidential / Released

• Use the read commands "

AT+CPIN

?" and "

AT+CPIN2

?" to check which password is currently required.

If the responses to "

AT+CPIN

?" and "

AT+CPIN2

?" both read "READY", there is no currently required pass-

word, and the referrer of the execute command "AT^SPIC" is explicitly undefined.
In these cases, the read command "AT^SPIC?" may be used to determine, which password the response of
the execute command actually refers to. Also, the write command may be used in order to retrieve the counter
for a specific password.

• For passwords associated to the phone lock (''PS'' lock set by client or factory) or other factory set locks, such

as ''PF'', ''PN'', ''PU'', ''PP'', ''PC'' the number of attempts is subject to a timing algorithm explained in

AT+CPIN

. If these passwords are incorrectly entered the counter first returns 3, 2 and 1 remaining attempt(s),

but then gives the total number of attempts which amounts to 63 (see example below).

• See also Chapters

AT+CLCK

,

AT+CPIN

,

AT+CPIN2

,

AT+CPWD

,

AT^SLCK

for further information on locks and

passwords.

Examples

EXAMPLE 1

The client fails to provide a correct SIM PIN three times The counter decreases each time. After the counter
reaches zero, the SIM PUK is required. After failure to enter a correct SIM PUK, the counter decreases.

at+cpin?

+CPIN: SIM PIN

OK

(currently required password is PIN1)

at^spic

^SPIC: 3

OK

(3 attempts left)

at+cpin=9999

+CME ERROR: incorrect password

at^spic

^SPIC: 2

(2 attempts left)

OK

at+cpin=9999

+CME ERROR: incorrect password

OK

at^spic

^SPIC: 1

OK

at+cpin=9999

+CME ERROR: incorrect password

at+cpin?

+CPIN: SIM PUK

OK

(now required password is PUK 1)

at^spic

^SPIC: 10

OK

(10 attempts left for PUK 1)

at+cpin=01234567,1234

+CME ERROR: incorrect password

Advertising