WCOM/GSM/WMO2/WMO2ATDOC
4.4 Security commands
4.4.1 Enter PIN
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
+CPIN: READY
+CPIN: SIM PIN
+CPIN: SIM PUK
+CPIN: SIM PIN2
+CPIN: SIM PUK2
+CPIN: PH-SIM PIN
+CPIN: PH-NET PIN
+CME ERROR: <err>
+CPIN
This command is used to enter ME passwords (CHV1 / CHV2 / PUK1 /
PUK2...) which are needed before any other functionality of the ME can be
used. The CHV1/CHV2 length is between 4 and 8 digits, the PUK1/PUK2
length is 8 digits only.
If the user application try to establish an outgoing call before having
validated the SIM PIN code (CHV1), then the GSM module will refuse the
"ATD" command with a "+CME ERROR: 11" (SIM PIN required).
It's up to the application to validate the PIN after each reset or power on if
the PIN was enabled. The application shall therefore use the command:
AT+CPIN=<pin>
AT+CPIN=1234
OK
AT+CPIN=5678
+CME ERROR: 3
After 3 unsuccessful codes, the PUK will then be required. The PUK
validation forces the user to enter as a second parameter a new PIN code
which will be the new PIN code if the PUK validation succeeds. The CHV1
is then enabled if the PUK1 is correct. The application shall therefore use
the command:
AT+CPIN=<Puk>,<NewPin>
AT+CPIN=00000000,1234
+CME ERROR: 16
AT+CPIN=12345678,1234
OK
To know which code has to be entered (or not), the following interrogation
command can be used:
AT+CPIN?
The possible responses are:
ME is not pending for any password
CHV1 is required
PUK1 is required
CHV2 is required
PUK2 is required
SIM lock (phone-to-SIM) is required
Network personnalisation is required
SIM failure (13) absent (10) etc...
Please note that in this case the mobile does not finish its response with
the OK string.
The response +CME ERROR: 13 (SIM failure) is returned after 10
unsuccessful PUK presentations. The SIM card is then out of order and
shall be replaced by a new one.
WAVECOM confidential ©
Enter PIN
PIN code is correct
Enter PIN
Operation not allowed, PIN previously entered
enter PUK and new PIN
Incorrect PUK
enter PUK and new PIN, 2
PUK correct, new PIN stored
WMO2 G900 / G1800 / G1900
Friday 21 May 1999
nd
attempt
39
Need help?
Do you have a question about the WMO2 and is the answer not in the manual?
Questions and answers