TC63 AT Command Set
5. Security Commands s
TC63_ATC_V00.490 Page 108 of 501 5/24/05
Confidential / Draft - Do not copy
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

AT+CPIN controls network authentication of the TC63.
The read command returns an alphanumeric string indicating whether or not ne twork authentication is required.
The write command allows the TC63 to store the entered password. 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 no PIN1 request is pending (for example if PIN1 authentication has been done and the same PIN1 is entered
again) TC63 responds "+CME ERROR: operation not allowed"; 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. See Section
5.1.1, What to do if PIN or password authentication fails? for more information about when you may need to
enter the PUK.
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>
Reference(s) PIN ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge 4Last
GSM 07.07 ! % % % % % % ! % !
<pin>(str)
<new pin>(text)