Chapter 3: AT Commands Reference

 

 

 

 

 

 

Command

 

 

 

 

Type

Syntax

Response/Action

Remarks

 

 

 

 

 

 

 

 

 

 

 

Set

AT+CPIN=[<puk>

OK

The Set command sends the password to

 

 

or <pin>],

or:

the G-LITE that is necessary before it can

 

 

[<newpin>]

+CME ERROR: <err>

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>

The Read command returns an

 

 

 

OK

alphanumeric string indicating the status

 

 

 

or:

of the SIM card, and whether a password is

 

 

 

required or not. This is an independent

 

 

 

+CME ERROR: <err>

 

 

 

SIM card lock status check only, and does

 

 

 

 

not check the phone lock status.

 

 

 

 

 

 

Test

AT+CPIN=?

OK

 

 

 

 

or:

 

 

 

 

+CME ERROR: <err>

 

 

 

 

 

 

 

 

 

 

 

The following table shows the +CPIN parameters.

 

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

AT+CPIN=<pin>

SIM PUK

AT+CPIN=<puk>,<newpin>

SIM PUK2

AT+CPIN=<puk2>,<newpin2>

SIM PIN 2

AT+CPIN=<pin2>

 

 

April 15, 2008

G24-L AT Commands Reference Manual

3-179

Page 243
Image 243
PIONEERPOS G24-LC manual 120 +CPIN Parameters, Sim Pin, Sim Puk, SIM PUK2