Specifications

Chapter 4 – Serial Interface Control Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 64
Example 3
This example shows that after successful SIM PIN1 authentication the counter of the AT^SPIC execute and read
command refers to SIM PIN2; i.e., it does not reflect the status of SIM PIN1. This may be a problem if the user
enters a wrong PIN1 and is not aware that the number of attempts left to enter SIM PIN1 is counted down.
+CREG: 0
at+cpin=1234
OK
+CREG: 2
+CREG: 1 The mobile ist properly registered to the network.
at+cpin?
+CPIN: READY The AT+CPIN? read command confirms that SIM PIN1 authentication was
successful.
at^spic
^SPIC: 3 As SIM PIN1 authentication was successful, the counter relates to SIM PIN2
and correctly indicates that the user has 3 attempts to enter SIM PIN2.
OK
AT^SPIC? Likewise, the read command notifies that the ME is waiting for SIM PIN2.
^SPIC: SIM PIN2
OK
at+clck=”SC”,0,456789 First attempt to enter a wrong SIM PIN1.
CME ERROR: incorrect password
at^spic
^SPIC: 3 SIM PIN1 authentication is still valid, and the counter relates to SIM PIN2.
at+clck=”SC”,0,456789 Second attempt to enter a wrong SIM PIN1.
CME ERROR: incorrect password
at^spic
^SPIC: 3 SIM PIN1 authentication is still valid, and the counter relates to SIM PIN2.
at+clck=”SC”,0,456789 Third attempt to enter a wrong SIM PIN1.
CME ERROR: incorrect password
+CREG: 0 SIM PIN1 authentication is no longer valid.
at^spic
^SPIC: 10 This time, after the SIM PIN1 code has been disabled, the counter indicates
the status of SIM PIN1 and notifies that 10 attempts are left to enter the SIM
PUK.
To avoid conflicts we recommend to use the AT^SPIC read and write commands rather than the execute
command only. The read command clearly states the currently required password, and the write command may
be used to get the counter for a specific <facility>, in this case for example “P2”.