![GOSUNCN ME3630 Series Скачать руководство пользователя страница 36](http://html.mh-extra.com/html/gosuncn/me3630-series/me3630-series_command-reference-manual_2247368036.webp)
All Rights reserved, No Spreading without GOSUNCN Permission
35
AT Command Reference Guide of Module Product
ME3630
<oldpwd>, <newpwd>: string type; <oldpwd> shall be the same as password specified for the facility from the MT user
interface or with command Change Password +CPWD and <newpwd> is the new password; maximum length of password can be
determined with <pwdlength>
<pwdlength>: integer type maximum length of the password for the facility
Example
AT+CPWD=?
+CPWD:("AB",4),("AC",4),("AG",4),("AI",4),("AO",4),("IR",4),("OI",4),("OX",4),("SC",8),("P2",8)
OK
AT+CPWD="SC","1234","4321"
OK
AT+CPWD="SC","4321","12341234"
OK
AT+CPWD="SC","4321","1234"
+CME ERROR: incorrect password
AT+CPWD="SC","12341234","1234"
OK
5.3.
AT+CPIN Enter PIN
Set command sends to the MT 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 towards MT
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, <newpin>, is used to replace the old pin
in the active application in the UICC (GSM or USIM) or SIM card.
Read command returns an alphanumeric string indicating whether some password is required or not.
Command
Response
+CPIN=<pin>[,<newpin>]
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>
+CPIN?
<CR><LF>+CPIN: <code><CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>
+CPIN=?
<CR><LF>OK<CR><LF>
Parameter
<pin>, <newpin>: string type values
<code> values reserved by the present document:
READY
MT is not pending for any password
SIM PIN
MT is waiting UICC/SIM PIN to be given
SIM PUK
MT is waiting UICC/SIM PUK to be given
PH-SIM PIN
MT is waiting phone-to-SIM/UICC card password to be given
PH-FSIM PIN
MT is waiting phone-to-very first SIM/UICC card password to be given
PH-FSIM PUK
MT is waiting phone-to-very first SIM/UICC card unblocking password to be given