5.3 AT^SPIC Display PIN Counter
The AT^SPIC command can be used to find out whether the ME is waiting for a password and,
Description:
if so, how many attempts are left to enter the password.
The execute command returns the number of attempts still available for entering the currently
required password, for example the PIN, PUK, PH-SIM PUK etc.
The read command AT^SPIC? indicates which password the number of attempts stated by the
execute command actually refers to. Also, the write command may be used to query the
counter for a specific password: It indicates the number of attempts still available for entering
the password identified by <facility>, for example the PIN, PIN2, PH-SIM PIN etc.
To check whether or not you need to enter a password use the read commands AT+CPIN?,
AT+CPIN2? and AT^SPIC?. If the response to AT+CPIN? is "READY" the counter of the
execute command AT^SPIC relates to PIN2. See last example. If the responses to AT+CPIN?
and AT+CPIN2? both read "READY", no password is currently required, and the referrer of the
execute command AT^SPIC is explicitly undefined.
Test Command Syntax:
Response:
Read Command Syntax:
Response:
Exec Command Syntax:
Response:
Write Command Syntax:
Response:
Parameter Descriptions:
<counter>
Number of attempts left to enter the currently required password. This number will be counted down after each
failure.
<facility>
Password for which the corresponding PIN counter is to be displayed.
"SC"
SIM PIN or SIM PUK. If the SIM PIN has been deactivated after three failed attempts, the
counter for SIM PUK will be returned instead.
"PS"
"Phone code" or "device code" (cf. AT+CLCK and AT+CPWD). If incorrectly entered three
times, the Master Phone Code is required to lift the lock and the number of remaining attempts
for the master phone code will be returned.
"P2"
SIM PIN2 or SIM PUK2. If the SIM PIN2 has been deactivated after three failed attempts, the
counter for SIM PUK2 will be returned instead.
"PN"
Network Personalization
<code>
Identification of the currently required password.
SIM PIN
ME is waiting for SIM PIN1.
SIM PUK
ME is waiting for SIM PUK1 if PIN1 was disabled after three failed attempts to enter PIN1.
SIM PIN2
ME is waiting for PIN2, when the attempt to access PIN2 requiring features was acknowledged
with +CME ERROR:17 (e.g., if the user attempts to edit the FD phonebook).
SIM PUK2
ME is waiting for PUK2 to unblock a disabled PIN2. Necessary if preceding command was
acknowledged with +CME ERROR:18.
PH-SIM PIN
ME is waiting for phone-to-SIM card password if "PS" lock is active and user inserts other SIM
card than the one used for the lock. ("PS" lock is also referred to as phone or antitheft lock).
PH-SIM PUK
ME is waiting for Master Phone Code, if the above "PS" lock password was incorrectly entered
three times.
PH-NET PUK
ME is waiting for network personalization unblocking password
Notes:
•
Whenever the required password changes, <counter> changes to reflect that change. Please refer to the
examples below.
•
For passwords associated to the phone lock ("PS" lock set by user or factory) or other factory set locks, such as
"PF", "PN", "PU", "PP", "PC" the number of attempts is subject to a timing algorithm explained in AT+CPIN. If
these passwords are incorrectly entered the counter first returns 3, 2 and 1 remaining attempt(s), but then gives
the total number of attempts which amounts to 63 (see example below).
•
See also commands AT+CLCK, AT+CPIN, AT+CPIN2, AT+CPWD, AT^SLCK for further information on locks
and passwords.
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371G)
AT^SPIC=?
OK
AT^SPIC?
^SPIC: <code>
OK
AT^SPIC
^SPIC: <counter>
OK
AT^SPIC=<facility>
^SPIC: <counter>
OK
Chapter 5 – Security Commands
67
Need help?
Do you have a question about the MultiModem EDGE and is the answer not in the manual?