beautypg.com

2 at+cpin2 pin2 authentication, At+cpin2 pin2 authentication, At+cpin2 – Siemens Brodersen MC55 AT User Manual

Page 103: Ally, the

background image

MC55_ATC_V04.00

Page 103 of 475

3/17/06

Confidential / Released

5.2

AT+CPIN2 PIN2 Authentication

AT+CPIN2

controls network authentication of the MC55.

The read command returns an alphanumeric string indicating whether or not network authentication is required.

The write command allows the MC55 to store the entered password. This may be for example the SIM PIN2 to

benefit from the features listed below, or the SIM PUK2 to replace a disabled PIN2 with a new one. Note that

PIN2 can only be entered if PIN1 authentication was done.

If the MC55 is requesting SIM PUK2, use

to enter the PUK2, followed by

to specify the new

PIN2.

Syntax

Parameter Description

Password (string type), usually SIM PIN2 or, if requested, SIM PUK2.

If the requested code was SIM PUK2: new password (PIN2).

See Section

5.1.1

,

What to do if PIN or password authentication fails?

for more information about when you may

need to enter the PUK.

READY

ME is not pending for any password.

SIM PIN2

ME is waiting for SIM PIN2.

This

is returned only when PIN2 authentication has not yet been done

or has failed ("+CME ERROR:17").

SIM PUK2

ME is waiting for SIM PUK2.

This

is returned only when PIN2 authentication has failed and ME is

pending for SIM PUK2 (i.e. "+CME ERROR:18").

Test Command

AT+CPIN2=?

Response(s)

OK

Read Command

AT+CPIN2?

Response(s)

+CPIN2:

OK

ERROR

+CME ERROR:

Write Command

AT+CPIN2=

[,

]

Response(s)

OK

ERROR

+CME ERROR:

Reference(s)

PIN

ASC0 ASC1

MUX1

MUX2

MUX3 Charge

Last

GSM 07.07

%

%

%

%

%

%

!

!

!

(str)

(str)

(text)