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+C PIN ?
+CPIN: SIM PIN
OK A PIN code entry request exists.
AT+C PIN =1234”
OK Enter the PIN code.
Example 2:
Enter the PUK code for unlocking and modify the PIN code.
AT+C PIN ?
+CPIN: SIM PUK A PUK code entry request exists.
OK
AT+C PIN =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+C LCK 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.