Cpin parameters -179 – PIONEERPOS AT Commands G24-LC User Manual

Page 243

Advertising
background image

Chapter 3: AT Commands Reference

April 15, 2008

G24-L AT Commands Reference Manual

3-179

The following table shows the +CPIN parameters.

Command

Type

Syntax

Response/Action

Remarks

Set

AT+CPIN=[<puk>

or <pin>],
[<newpin>]

OK

or:

+CME ERROR: <err>

The Set command sends the password to
the G-LITE that is necessary before it can
be operated (SIM PIN or SIM PUK). If
there is no PIN request pending, no action
is taken towards the G-LITE, and an error
message, +CME ERROR, is returned to
the terminal.
The Set command issued gives the code
(SIM PIN or SIM PUK) corresponding to
the error code required or returned as the
result of the Read command. For example,
if the SIM PIN is blocked, the error code
11 or "SIM PIN required" is returned. The
user must then issue the Set command with
the SIM PIN.

Read

AT+CPIN?

+CPIN: <code>

OK

or:

+CME ERROR: <err>

The Read command returns an
alphanumeric string indicating the status
of the SIM card, and whether a password is
required or not. This is an independent
SIM card lock status check only, and does
not check the phone lock status.

Test

AT+CPIN=?

OK

or:

+CME ERROR: <err>

Table 3-120: +CPIN Parameters

<Parameter>

Description

<puk>

PUK code for unblocking a blocked phone

<pin>

Current PIN for unlocking a locked phone

<newpin>

New PIN (after changing or after entering PUK) 4 - 8 digits

<code>

READY - Not waiting for a password
SIM PIN - Waiting for SIM PIN
SIM PUK - Waiting for SIM PUK
SIM PIN2 - Waiting for SIM PIN, this response is given when the last executed
command resulted in PIN2 authentication failure
SIM PUK2 - Waiting for SIM PUK2, this response is given when the last executed
command resulted in PUK2 authentication failure

SIM PIN
SIM PUK
SIM PUK2
SIM PIN 2

AT+CPIN=<pin>
AT+CPIN=<puk>,<newpin>
AT+CPIN=<puk2>,<newpin2>
AT+CPIN=<pin2>

Advertising
This manual is related to the following products: