Motorola G24 用户手册

下载
页码 642
Access
3-254
 AT Commands Reference Manual
December  31, 2007
The following table shows the +CPIN parameters.
Command 
Type
Syntax
Response/Action
Remarks
Set
AT+CPIN=[<puk> 
or <pin>],
[<newpin>]
OK
or:
+CME ERROR: <err>
The Set command sends the password to 
the G24 that is necessary before it can be 
operated (SIM PIN or SIM PUK). If there 
is no PIN request pending, no action is 
taken towards the G24, 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>
OK
or:
+CME ERROR: <err>
The Read command returns an 
alphanumeric string indicating the status 
of the SIM card, and whether a password is 
required or not. This is an independent 
SIM card lock status check only, and does 
not check the phone lock status.
Test
AT+CPIN=?
OK
or:
+CME ERROR: <err>
Table 3-169: +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
SIM PUK
SIM PUK2
SIM PIN 2
AT+CPIN=<pin>
AT+CPIN=<puk>,<newpin>
AT+CPIN=<puk2>,<newpin2>
AT+CPIN=<pin2>