Cinterion
®
EHS6 AT Command Set
6. Security Commands
EHS6_ATC_V03.001 15/12/3
Confidential / Released
Page 119 of 513
6. Security Commands
The AT Commands described in this chapter allow the external application to determine various security related
settings.
6.1 AT+CPIN PIN Authentication
The AT+CPIN write command can be used to enter one of the passwords listed below. The read command can
be used to check whether or not the ME is waiting for a password, or which type of password is required.
This may be for example the SIM PIN1 to register to the GSM/UMTS network, or the SIM PUK1 to replace a
disabled SIM PIN1 with a new one, or the PH-SIM PIN if the client has taken precautions for preventing damage
in the event of loss or theft etc. If requested by the ME AT+CPIN may also be used for the SIM PIN2 or SIM PUK2.
If no PIN1 request is pending (for example if PIN1 authentication has been done and the same PIN1 is entered
again) EHS6 responds "+CME ERROR: Incorrect parameters"; no further action is required.
Syntax
Parameter Description
Password (string type), usually SIM PIN1.
If the requested password was a PUK, such as SIM PUK1 or PH-FSIM PUK or another password, then <pin>
must be followed by <new pin>.
If the requested code was a PUK: specify a new password or restore the former disabled password.
Test Command
AT+CPIN=?
Response(s)
OK
Read Command
AT+CPIN?
Response(s)
+CPIN: <code>
OK
ERROR
+CME ERROR: <err>
Write Command
AT+CPIN=<pin>[, <new pin>]
Response(s)
OK
ERROR
+CME ERROR: <err>
PIN Last Reference(s)
- + - 3GPP TS 27.007 [45]
<pin>
(str)
<new pin>
(str)