Table 81. +Cpin Parameters - Motorola g20 Developer's Manual

At commands
Hide thumbs Also See for g20:
Table of Contents

Advertisement

The Set command issued gives the code (SIM PIN or SIM PUK) corresponding to the error code required or returned or the
result of the Read command. For example, if the SIM PIN is blocked and the AT command operation requires SIM card access,
then the error code 11 or "SIM PIN required" is returned. The user must then issue the Set command with the SIM PUK and
new SIM PIN passed in.
Command
AT+CPIN=[<puk> or <pin>],
[<newpin>]
Read Command
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.
Command
AT+CPIN?
Test Command
Command
AT+CPIN=?
The following table shows the +CPIN parameters.
<Parameter>
<puk>
PUK code for blocked phone
<pin>
Current PIN
<newpin>
New PIN (after changing or after entering PUK) 4 - 8 digits
<code>
READY
SIM PIN
SIM PUK
SIM PIN2 Waiting for SIM PIN2
SIM PUK2 Waiting for SIM PUK2
98-08901C68-O
OK
or:
+CME ERROR: <err>
+CPIN: <code>
OK
or:
+CME ERROR: <err>
OK
or:
+CME ERROR: <err>

Table 81. +CPIN Parameters

Description
Not waiting for a password
Waiting for SIM PIN
Waiting for SIM PUK
Response/Action
Response/Action
Response/Action
AT Commands Reference
173

Advertisement

Table of Contents
loading

Table of Contents