5.Security Commands

The AT Commands described in this chapter allow the external application to determine various security related settings.

5.1AT+CPIN PIN Authentication

AT+CPIN 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 PIN1 to register to the GSM network, or the SIM PUK1 to replace a disabled SIM PIN1 with a new one, or the PH-SIM PIN if the client has taken precautions for preventing damage in the event of loss or theft etc.

If no PIN1 request is pending (for example if PIN1 authentication has been done and the same PIN1 is entered again) MC55 responds "+CME ERROR: operation not allowed"; no further action is required.

Each time a password is entered with AT+CPIN the module starts reading data from the SIM. The duration of reading varies with the SIM card. This may cause a delay of several seconds before all commands which need access to SIM data are effective. See Section 20.1, Restricted access to SIM data after SIM PIN authentication for further detail.

Syntax

Test Command

AT+CPIN=?

Response(s)

OK

Read Command

AT+CPIN?

Response(s)

+CPIN: <code>

OK ERROR

+CME ERROR: <err>

Write Command

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

Response(s)

OK ERROR

+CME ERROR: <err>

Reference(s)

GSM 07.07

PIN ASC0 ASC1 MUX1 MUX2 MUX3 Charge  Last

! % % % % % ! ! !

MC55_ATC_V04.00

Page 99 of 475

3/17/06

Confidential / Released

 

 

Page 99
Image 99
Siemens MC55 AT manual Security Commands, AT+CPIN PIN Authentication, At+Cpin=?, At+Cpin?, AT+CPIN=pin, new pin