![Neoway M590E Скачать руководство пользователя страница 17](http://html1.mh-extra.com/html/neoway/m590e/m590e_manual_1667872017.webp)
Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
12
AT+CLCK="SC",0,"1234"
OK
Lock the current SIM card. "1234" is the
PIN code of current SIM card.
AT+CLCK="SC",1,"2222"
ERROR
The PIN code is incorrect.
Remarks
The settings of this command take effect after the module is restarted.
1.15
Modifying the Password of the PIN: +CPWD
Description
To modify the password of the lock function of the module
Format
AT+CPWD=<fac>,<oldpwd>,<newpwd><CR>
AT+CPWD=?<CR>
Parameter
<fac>: A pair of quotation marks is required for the value.
"P2":SIM PIN2
"SC": SIM card
<oldpwd>: Old password or code, string type. A pair of quotation marks is required for
the value.
<newpwd>: New password or code, string type. A pair of quotation marks is required for
the value.
Return Value
<CR><LF>OK<CR><LF>
<CR><LF>+CPWD: list of supported (<fac>,<pwdlength>)s
<CR><LF>OK<CR><LF>
<CR><LF> ERROR<CR><LF>
Example
AT+CPWD=?
+CPWD: ("SC",8),("P2",8)
OK
Query the service range of the PIN
password allowed by the module.
AT+CPWD="SC","1234","0000"
OK
Modify the PIN code of the current SIM
card. "1234" is the old PIN code and
"0000" is the new PIN code.
AT+CPWD=SC,1234,0000
ERROR
The command format is incorrect. A pair
of quotation marks ("") is required for
each parameter.
Remarks
To modify the PIN code, you must lock the SIM card (running
AT+CLCK="SC",1,"1234"
).
1.16
Setting GPRS Attach and Detach: +CGATT
Description
To set GPRS attach and detach
Format
AT+CGATT=<state><CR>
AT+CGATT?<CR>
AT+CGATT=?<CR>