Cinterion
®
EHS6 AT Command Set
6.5 AT^SPIC
EHS6_ATC_V03.001 15/12/3
Confidential / Released
Page 132 of 513
EXAMPLE 2
If the ME is not waiting for any password, such as PIN, PIN2, PH-NET, PH-SIM, the execute command will
only return OK. But you can specify the <facility> to get the PIN counter.
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.
^SPIC: SIM PIN
OK
Currently required password is PIN1.
at^spic
^SPIC: 3
OK
3 attempts left.
at+cpin="9999"
+CME ERROR: incorrect password
at^spic
^SPIC: 2
2 attempts left.
OK
at+cpin="9999"
+CME ERROR: incorrect password
OK
at^spic
^SPIC: 1
1 attempt left.
OK
at+cpin="9999"
+CME ERROR: incorrect password
at+cpin?
+CPIN: SIM PUK
OK
Now required password is PUK1.
at^spic
^SPIC: 10
OK
10 attempts left for PUK1.
at+cpin="01234567","1234"
+CME ERROR: incorrect password
at^spic
^SPIC: 9
OK
9 attempts left for PUK1.
AT+CPIN?
+CPIN: READY
OK
AT+CPIN2?
+CPIN2: READY
OK
at^spic?
OK
No password required.
at^spic
OK
Execute command returns only OK.
at^spic="SC"
^SPIC: 3
Get the PIN counter by specifying the <facility>
type.
OK
+CREG: 0
at+cpin="1234"
OK
+CREG: 2