UMTS/HSPA Module Series
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 65 / 247
OK
AT+CLCK="SC",0,"1234" //Unlock SIM card
OK
5.3. AT+CPIN Enter PIN
AT+CPIN is used to enter a password or query whether or not the module requires a password which is
necessary before it can be operated (SIM PIN, SIM PUK, PH-SIM PIN, etc.).
Parameter
Response
TA returns an alphanumeric string indicating whether or not
some password is required.
+CPIN: <code>
OK
Write Command
AT+CPIN=<pin>[,<new pin>]
Response
TA stores a password which is necessary before it can be
operated (SIM PIN, SIM PUK, etc.). If the PIN is to be entered
twice, the TA shall automatically repeat the PIN. If no PIN
request is pending, no action is taken and an error message,
+CME ERROR, is returned to TE.
If the PIN required is SIM PUK or SIM PUK2, the second pin
is required. This second pin, <new pin>, is used to replace
the old pin in the SIM.
OK
<code> READY MT is not pending for any password
SIM PIN MT is waiting for SIM PIN to be given
SIM PUK MT is waiting for SIM PUK to be given
SIM PIN2 MT is waiting for SIM PIN2 to be given
SIM PUK2 MT is waiting for SIM PUK2 to be given