HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
Security Control Commands
Issue 01 (2011-08-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
47
0: unlocking
1: locking
2: status query
<status>:
0: deactivated
1: activated
<passwd>: A string with double quotation marks. It should be the same as the
password set by running the +CPWD command. This item is mandatory when mode
is set to 0 or 1. The parameter value must be a string consisting of digits 0–9.
Otherwise, "ERROR" is returned.
<class>: Reserved and not supported at present
4.2 +CPIN–PIN Management Command
4.2.1 Syntax
Command
Possible Response(s)
+CPIN=<pin>[,<newpin>]
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
+CPIN?
<CR><LF>+CPIN:<code><CR><LF>
<CR><LF>OK<CR><LF>
+CPIN=?
<CR><LF>OK<CR><LF>
4.2.2 Interface Description
The execution command verifies and unlocks the PIN and PIN2 codes.
If PIN or PIN2 is requested, run +CPIN=<pin> for verification.
If PUK or PUK2 is requested, run +CPIN=<pin>,<newpin> for unlocking. The first
parameter is R-UIM PUK or R-UIM PUK2. The second parameter is the new PIN or
PIN2 code.
If the PIN is not requested and the execution command is run, the error information
+CME ERROR is returned.