Download H330 Module AT Command User Manual - Premier

Transcript
SIM PUK2, the second pin is required. This second pin, <newpin>, is used to replace the old pin in the SIM
card. When entering the pin, a <new pin> is not required.
A SIM card related error is returned if an AT command operation is unsuccessful due to a SIM card problem.
The following table shows the SIM card errors.
Error
Description
10 SIM not inserted
SIM Card is not inserted
11 SIM PIN required
SIM Card waiting for SIM PIN to be entered
12 SIM PUK required
SIM PIN is blocked
13 SIM failure
SIM Card is permanently blocked
17 SIM PIN2 required
SIM Card is waiting for SIM PIN2 to be entered
18 SIM PUK2 required
SIM PIN2 is blocked
Command
Syntax
Response/Action
Remarks
Set
AT+CPIN
=[<puk>
OK
The Set command sends the password to
the H330 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 H330, and an error message,
+CME ERROR, is returned to the terminal.
or
<pin>][,
<newpin
>]
or:
+CME ERROR:
<err>
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>
Test
AT+CPIN
=?
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.
OK
H330 Module AT Command User Manual
Page 143 of 304