Huawei MG323 Recording Equipment User Manual


 
HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Commands for Security Control
Issue 02 (2010-11-23)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
44
Table 5-1 PIN 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
command
AT+CPIN=<pin>[,<newpin>]
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>
z
In 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.