![Huawei MG323 At Command Interface Specification Download Page 62](http://html.mh-extra.com/html/huawei/mg323/mg323_at-command-interface-specification_167893062.webp)
HUAWEI MG323 GSM M2M Module
AT Command Interface Specification
Commands for Security Control
Issue 02 (2010-11-23)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
45
AT+CPIN?
+CPIN: SIM PIN
OK
A
PIN
code
entry
request
exists.
AT+CPIN=
“
1234”
OK
Enter
the
PIN
code.
Example 2:
Enter the PUK code for unlocking and modify the PIN code.
AT+CPIN?
+CPIN:
SIM
PUK
A
PUK
code
entry
request
exists.
OK
AT+CPIN=
“
12345678”,
“
1234”
Enter the PUK code and modify the PIN
code.
OK
5.2 AT+CLCK - Command for Locking and Unlocking the
Device
The
AT+CLCK
command locks and unlocks the device.
5.2.1 Checking the Devices Supported by This Command
Test
command
AT+CLCK=?
Function
Returns the devices supported by this command.
Response
<CR><LF>+CLCK: (list of supported <fac>s)<CR><LF>
<CR><LF>OK<CR><LF>
Parameter description
<fac>: string, which specifies the object on which this command operation is
performed.
z
“SC”: SIM card. If the SIM card is locked, the MS requests you to enter the
password during power-on. The password is the SIM PIN1 code.
z
“AO”: forbids all outgoing calls; this parameter is reserved and is not supported
currently.
z
“
OI”: forbids outgoing international calls; this parameter is reserved and is not
supported currently.