![Gemalto Cinterion EHS6 Command Manual Download Page 121](http://html.mh-extra.com/html/gemalto/cinterion-ehs6/cinterion-ehs6_command-manual_2206684121.webp)
Cinterion
®
EHS6 AT Command Set
6.2 AT+CPIN2
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 121 of 513
6.2
AT+CPIN2 PIN2 Authentication
controls the authentication of SIM PIN2.
The read command returns an alphanumeric string indicating whether or not SIM PIN2 authentication is required.
The write command allows the EHS6 to verify the SIM PIN2 password. This may be for example the SIM PIN2
to benefit from the features listed below, or the SIM PUK2 to replace a PIN2 with a new one. Note that PIN2 can
only be entered if PIN1 authentication was done.
If the EHS6 is requesting SIM PUK2, use
to enter the PUK2, followed by
PIN2.
Syntax
Parameter Description
Password (string type), usually SIM PIN2 or, if requested, SIM PUK2.
If the requested code was SIM PUK2: new password (PIN2).
READY
ME is not pending for any password.
SIM PIN2
ME is waiting for SIM PIN2.
This
is returned only when PIN2 authentication has not yet been done
or has failed ("+CME ERROR: 17").
SIM PUK2
ME is waiting for SIM PUK2.
This
is returned only when PIN2 authentication has failed and ME is
pending for SIM PUK2 (i.e. "+CME ERROR: 18").
Test Command
AT+CPIN2=?
Response(s)
OK
Read Command
AT+CPIN2?
Response(s)
+CPIN2:
OK
ERROR
+CME ERROR:
<err>
Write Command
AT+CPIN2=
]
Response(s)
OK
ERROR
+CME ERROR:
<err>
PIN
Last
-
+
-
<pin>
(str)
<new pin>
(str)
<code>
(text)