AL3A-RM User Guide Version B
Document Number: 451-93156-002B
63 of 172
B.48
+CPIN
–
E
NTER
PIN
Set Command:
+CPIN=<pin>[,<newpin>]
Set command sends to the A3LA-RM a password which is necessary before it can be
operated (SIM Card PIN Code, SIM PUK, etc.). If no password request is pending, no
action is taken by the A3LA-RM.
If the password required is SIM PUK, then <newpin> is required, where <newpin> is
the new SIM Card PIN to replace the old SIM Card PIN.
If the password required is SIM PUK2, then <newpin> is required, where <newpin> is
the new SIM Card PIN2 to replace the old SIM Card PIN2
Both <pin> and <newpin> should be of string type enclosed by “ “; for example,
”1234”.
Read Command:
+CPIN?
Read command returns an alphanumeric string indicating whether some password is
required or not. Response is in the form:
+CPIN: <code>
where <code> can be one of the following:
READY
A3LA-RM is not waiting for any password.
PH PIN
A3LA-RM is waiting for Phone Unlock Code to be given.
SIM PIN
A3LA-RM is waiting for SIM Card PIN1 Code to be given.
SIM PUK
A3LA-RM is waiting for SIM PUK to be given (because SIM PIN1 is
blocked).
SIM PIN2
A3LA-RM is waiting for SIM PIN2 to be given.*
SIM PUK2
A3LA-RM is waiting for SIM PUK2 to be given (because SIM PIN2 is
blocked).
*Note:
The response “SIM PIN2” is somewhat misleading, because it indicates one
of three possible scenarios:
1.
PIN1 has already been successfully entered (thus equivalent to the READY
response).
2.
No PIN1 is required (thus equivalent to the READY response).