BGS2T AT Command Set
5. Security Commands
BGS2T_ATC_V01.301
Page 110 of 554
1/31/12
c
5.
Security Commands
The AT Commands described in this chapter allow the external application to determine various security related
settings.
5.1
AT+CPIN PIN Authentication
The
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 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
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) BGS2T responds "+CME ERROR: operation not allowed"; no further action is required.
Each time a password is entered with
the module starts reading data from the SIM. The duration of
reading varies with the SIM card. This may cause a delay of several seconds before all commands which need
access to SIM data are effective. See Section
Restricted access to SIM data after SIM PIN authentication
for further detail.
Syntax
Test Command
AT+CPIN=?
Response(s)
OK
Read Command
AT+CPIN?
Response(s)
+CPIN:
OK
ERROR
+CME ERROR:
Write Command
AT+CPIN=
]
Response(s)
OK
ERROR
+CME ERROR:
PIN ASC0 MUX1 MUX2 MUX3
Last
Reference(s)
-
+
+
+
+
-
-
3GPP TS 27.007
Confidential / Released