Specifications
Chapter 5 – Security Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 76
Examples:
Example 1: Change PIN2
AT+CPWD=”P2”,”0000”,”8888” (where “0000” = old PIN2 and “8888” = new PIN2)
OK
Example 2: Unblock a disabled PIN2
AT+CPIN2?
+CPIN2: SIM PUK2 PIN2 has been disabled, PUK2 must be entered
OK to define a new PIN2
AT+CPIN2=12345678,8888 where “12345678” is the PUK2, and “8888” the new PIN2.
Example 3: Write into “FD” phonebook
AT+CPBS=”FD”
OK
AT+CPBW=2,”+493012345678”,145,”Charly”
+CME ERROR 17 access denied due to missing PIN2 authentication
AT+CPIN2=8888
OK
AT+CPBW=2,”+493012345678”,145,”Charly”
OK
5.3 AT^SPIC Display PIN Counter
Description: The AT^SPIC command can be used to find out whether the ME is waiting for a password and,
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.
Syntax: Test Command: AT^SPIC=?
Response: OK
Read Command: AT^SPIC?
Response: ^SPIC: <code>
OK
Exec Command: AT^SPIC
Response: ^SPIC: <counter>
OK
Write Command: AT^SPIC=<facility>
Response: ^SPIC: <counter>
OK
ERROR
+CME ERROR: <err>
Parameters:
<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.