Siemens MC55 AT manual AT+CPIN2 PIN2 Authentication, AT+CPIN2=?, AT+CPIN2?, AT+CPIN2=pin, new pin

Models: MC55 AT

1 475
Download 475 pages 54.64 Kb
Page 103
Image 103

5.2AT+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 <pin> to enter the PUK2, followed by <new pin> to specify the new PIN2.

Syntax

Test Command

AT+CPIN2=?

Response(s)

OK

Read Command

AT+CPIN2?

Response(s)

+CPIN2: <code>

OK ERROR

+CME ERROR: <err>

Write Command

AT+CPIN2=<pin>[, <new pin>]

Response(s)

OK ERROR

+CME ERROR: <err>

Reference(s)

GSM 07.07

PIN ASC0 ASC1 MUX1 MUX2 MUX3 Charge  Last

% % % % % % ! ! !

Parameter Description

<pin>(str)

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

<new pin>(str)

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.

<code>(text)

 

READY

ME is not pending for any password.

 

 

 

SIM PIN2

ME is waiting for SIM PIN2.

 

 

 

 

This <code> 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 <code> is returned only when PIN2 authentication has failed and ME is

 

 

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

 

 

 

 

 

 

 

MC55_ATC_V04.00

Page 103 of 475

3/17/06

Confidential / Released

 

 

 

Page 103
Image 103
Siemens MC55 AT manual AT+CPIN2 PIN2 Authentication, AT+CPIN2=?, AT+CPIN2?, AT+CPIN2=pin, new pin