Add: http://blog.chinaunix.net/u3/102827/showart_2045521.html
1. Sim
Card
Pin
Code Management Overview
And
Sim
The passwords related to card password management are:
Pin
,
Pin2
,
Puk
,
Puk2
. The initial password is
Sim
Card suppliers.
1.1
Pin
Code
(
That is
Pin1 code
)
Yes
Sim
The password of the card. The original password is
1234
. If the input is incorrect three times, you must use
Puk
Unlock code,
Puk
The error code is provided by the carrier.
Sim
Card burned. When
Pin
When the code is enabled, you need to use
Pin
Pair
Sim
Card unlock.
1.2
Pin2 code
It is used when mobile phone billing is set. If you enter three errors, you need to use
Puk2 code
Unlock. Currently, China Mobile and China Unicom do not provide this support, even if
Pin2
The password lock will not affect the normal use of the mobile phone.
The following content only applies
Pin
No.
Pin2 code
.
2. evdo
Password Management
At
Command (the following tests are performed in xxxx
<Block specific product information> pass the test)
2.1
Enable
Sim
Card
Pin
Code
(SIM
The lock is not enabled.
)
At + clck = "SC", 1, "$ pin"
(
Punctuation marks are all English Punctuation Marks, and quotation marks cannot be omitted,
$ Pin
Yes current
Pin
Code, the same below
)
If the execution is successful, return
OK
Otherwise, an error message is returned.
2.2
Disable
Sim
Card
Pin
Code
(SIM
Card lock Enabled
)
At + clck = "SC", 0, "$ pin"
If the execution is successful, return
OK
Otherwise, an error message is returned.
2.3
Query
Pin
Activation status
At + clck = "SC", 2
Executed successfully,
Return
+ Clck: 0 pin
Not activated,
Return
+ Clck: 1 pin
Not activated,
An error code is returned when execution fails.
2.4
Query
Sim
Lock status
At + cpin?
Execution successful
Return
+ Cpin: Ready
Sim
Unlocked
Return
+ Cpin: SIM
Pin
Sim
Card needs
Pin
Unlock code
Return
+ Cpin: SIM
Puk
Sim
Card needs
Puk
Unlock code (
Pin
The Code has been locked)
Error Code returned when execution fails
2.5pin
Code verification (Use
Pin
Unlock code
Sim
Card)
At + cpin = "$ pin"
Return if execution is successful
OK
Otherwise, an error code is returned.
2.6
Modify
Pin
Code
(Only when enabled
Pin
Valid after code)
At + CPWD = "SC", "$ oldpin", "$ newpin"
Return if execution is successful
OK
Otherwise, an error code is returned.
2.7
Use
Puk
Unlock code
Pin
Code
(When
Pin
Incorrect code input
3
After,
Pin
The code is locked and can only be passed through
Puk
Unlock code)
At + cpin = "$ Puk", "$ newpin"
($ Puk
Is
Sim
Card
Puk
Code, provided by a carrier,
$ Newpin
New
Pin
Code, can be associated with the original
Pin
Different codes
)
Return if execution is successful
OK
Otherwise, an error code is returned.
2.8
Query the number of valid passwords
(Initial
Pin
Code:
3
Times,
Puk
Code:
10
Times. If an error is entered, the value is reduced.
1
, When the input is correct, this value restores the initial value)
At ^ cpin?
When
Sim
No lock timing on the card (including
Pin
Code is not enabled, and
Pin
Code enabled, but already used
Pin
Unlock code)
Return
^ Cpin: Ready, 10, 3, 10, 3
The four numbers are,
Puk
Code,
Pin
Code,
Puk2 code
,
Pin2 code
(But only
Pin
Indicates the number of valid codes)
When
Sim
Lock timing
Return
^ Cpin: SIM pin, 3, 10, 3
The first
3
Representative
Pin
Number of valid Codes
When
Pin
Code Lock timing
Returns ^ cpin: SIM Puk, 9, 3
First
9
Representative
Puk
Number of valid Codes
3. Forget
PIN code, which can be used
At + cpin = puk1, 2222, enter the new PIN code, 2222.