GSM/GPRS Module
M35 AT Commands Manual
M35_AT_Commands_Manual Confidential / Released
49
/
186
Parameter
Example
AT+CPIN?
+CPIN: SIM PIN
// Query PIN code is locked
OK
AT+CPIN=1234
// PIN
+CPIN: READY
OK
AT+CPIN?
// PIN has already been entered
+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, 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
Reference
GSM 07.07
<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. it is possible to edit the FDN book only if preceding command
was acknowledged with
+CME ERROR:17
SIM PUK2
Possible only if preceding command was acknowledged with error
+CME ERROR: 18
<pin>
String type; password
<new pin>
String type; If the PIN required is SIM PUK or SIMPUK2: new password