ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 171 of 545 2020-04-15
SIM
3.3.1. AT+CPIN - Enter the PIN
The command sends to the device a password which is necessary before it can be operated.
AT+CPIN=<pin>[,<newpin>]
Set command sends to the device a password which is necessary before it can be operated (SIM
PIN, SIM PUK, PH-SIM PIN, etc.).
If the PIN required is SIM PUK or SIM PUK2, the <newpin> is required. This <newpin>, will
replace the old pin in the SIM.
The command may be used to change the SIM PIN by sending it with both parameters <pin> and
<newpin>.
Parameters:
PIN required or old PIN if the command is used to change the
SIM PIN
new PIN that will replace old pin
AT+CPIN?
Read command reports the PIN/PUK/PUK2 request status of the device in the form:
+CPIN: <code>
Additional info:
PIN/PUK/PUK2 request status
code
ME is not pending for any password
ME is waiting SIM PIN to be given
ME is waiting SIM PUK to be given
ME is waiting phone-to-SIM card password to be
given