HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Security Control

Table 5-1PIN authentication performed by the SIM card

 

Value

Description

 

READY

The PIN code has been entered and the SIM card has completed

 

PIN authentication.

 

SIM PIN

The ME is waiting for the entry of SIM PIN code.

SIM PUK

After the SIM PIN code is improperly entered for three times, the ME

 

is waiting for the entry of SIM PUK code.

SIM PIN2

The ME is waiting for the entry of SIM PIN2 code.

SIM PUK2

After the SIM PIN2 code is improperly entered for three times, the

 

ME is waiting for the entry of SIM PUK2 code.

5.1.3 Responding to the Password Entry Request

Write AT+CPIN=<pin>[,<newpin>] command

Function Checks and unlocks the PIN and PIN2.

If the current password entry request is PIN or PIN2, run the following command:

AT+CPIN=<pin>

If the current password entry request is PUK or PUK2, run the command:

AT+CPIN=<pin>,<newpin>

The first parameter <pin> indicates the SIM PUK or SIM PUK2. The second parameter <newpin> indicates the new PIN or PIN2 code.

Response z In case of successful execution: <CR><LF>OK<CR><LF>

zIn case of an error related to the MT: <CR><LF>+CME ERROR: <err><CR><LF>

Note:

If no PIN entry request exists currently, running this command returns an error message: +CME ERROR: operation not allowed;

If PIN or PUK is checked during an ongoing call or other services, the call may be hung up or other services may be interrupted.

Parameter description

<pin>, <newpin>: A string, which can be or may not be placed inside quotation marks. The characters inside the string must be obtained from ‘0’–‘9’. Otherwise, an error is returned directly.

5.1.4 Examples

Example 1:

Enter the PIN code for unlocking.

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

44

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 61
Image 61
Huawei MG323 manual Responding to the Password Entry Request, Example Enter the PIN code for unlocking