NAL Research Corporation (451-93156-009A)
37
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-RG is not waiting for any password.
PH PIN
A3LA-RG is waiting for Phone Unlock Code to be given.
SIM PIN
A3LA-RG is waiting for SIM Card PIN1 Code to be given.
SIM PUK
A3LA-RG is waiting for SIM PUK to be given (because SIM PIN1 is blocked).
SIM PIN2
A3LA-RG is waiting for SIM PIN2 to be given.*
SIM PUK2
A3LA-RG 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).
3.
The A3LA-RG is waiting for PIN2 (used to access Fixed Dialing settings and other
subscription-based features).
In any of these three cases, the A3LA-RG should be available to place and receive calls.
Note: +CPIN is closely related to +CLCK and +CPWD. See these commands for additional
information.
A.8.49 +CPMS – Select Preferred SMS Message Storage
Set Command: +CPMS=<mem1>[, <mem2>[,<mem3>]]
Set command selects memory storages <mem1>, <mem2> and <mem3>. <mem1> is the
memory from which messages are read and deleted; <mem2> is the memory to which writing
and sending operations are made; <mem3> is the memory to which received SMS messages
are to be stored. If a chosen storage is not appropriate for the A3LA-RG, final result code +CMS
ERROR: <cms_err> is returned.
Valid values for <mem1>, <mem2> and <mem3> are:
"SM" SIM message storage
Response is in the form:
+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3>