M10 AT Commands Set
M10_ATC_V1.01
- 62 -
3.2.30 AT+CPIN Enter PIN
AT+CPIN Enter PIN
Test Command
AT+CPIN=?
Response
OK
Parameter
see Write Command
Response
TA returns an alphanumeric string indicating whether some password is
required or not.
+CPIN: <code>
OK
Read Command
AT+CPIN?
Parameter
<code>
READY
no further entry needed
SIM PIN
ME is waiting for SIM PIN
SIM PUK
ME is waiting for SIM PUK
PH_SIM PIN ME is waiting for phone to SIM card (antitheft)
PH_SIM PUK ME is waiting for SIM PUK (antitheft)
SIM PIN2
PIN2, e.g. for editing the FDN book possible only
if preceding Command was acknowledged with +CME ERROR:17
SIM PUK2
possible only if preceding Command was acknowledged
with error +CME ERROR: 18.
Response
TA stores a password which is necessary before it can be operated (SIM
PIN, SIM PUK, PH-SIM PIN, 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
Write Command
AT+CPIN=<pin>
[, <new pin>]
Parameters
<pin>
string type; password
<new pin>
string type; If the PIN required is SIM PUK or SIMPUK2:
new password
Reference
GSM 07.07 [13]
Note
3.2.31 AT+CPWD Change Password
AT+CPWD Change Password
Test Command
AT+CPWD=?
Response
TA returns a list of pairs which present the available facilities and the
maximum length of their password.
+CPWD:
(list of supported <
fac
>s, <
pwdlength
>s)
Quectel