Specifications

Chapter 4 – Serial Interface Control Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 65
5.4 AT+CLCK Facility Lock
Description: AT+CLCK can be used to lock, unlock or interrogate a network or ME <facility>. The command
can be aborted when network facilities are being set or interrogated.
Test Command Syntax: AT+CLCK=?
Response(s): +CLCK:list of supported <facility>s, OK
Write Command Syntax: AT+CLCK=<facility>, <mode>[, <password>][, <class>]
Response: If <mode> is not equal 2 and command successful:
OK
if <mode>= 2 and command successful:
+CLCK: <status>[, <class>]
[+CLCK: <status>[, <class>]]
[+CLCK: ...]
OK
If error is related to ME functionality
+CME ERROR
Parameter Descriptions:
<facility>
Phone security locks set by client or factory
Primarily intended for the client to take safety precautions, “SC”, “PS” and “FD” can be configured individually.
Parameter <class> is not applicable to security locks. See examples below for further details.
“SC“ SIM (lock SIM cards). SIM requests password upon ME power-up and when this lock
command is issued.
<password>: SIM PIN1.
“PS“ Phone locked to SIM card. ME requests password when other than current SIM card is
inserted.
“PS” lock is frequently referred to as “phone lock”, or “device lock”. Accordingly, the password
may be called “phone code” or “device code”. The “PS” password is not associated with the
PUK of the SIM card. If incorrectly entered three times, the Master Phone Code is required to
lift the lock. This is an 8-digit device code associated to the IMEI number of the mobile which
can only by obtained from the manufacturer of the module. Once the Master Phone Code has
been accepted, the mobile is operational, and the “PS” lock is no longer active. If needed it
must be set once again.
Important Note: Multi-Tech does not lock SIM Cards.
<password>: User defined password. It is needed before the first use of <facility> “PS” and,
therefore, must first be specified with AT+CPWD or AT^SPWD, if it has not been predefined by
factory settings. If set by factory (e.g., for a prepaid mobile), the password is supplied by the
provider or operator.
“FD“ SIM fixed dialing memory: If the mobile is locked to “FD”, only the phone numbers stored to the
“FD” memory can be dialled. (Capacity of FD phonebook depending on the SIM card).
<password>: SIM PIN 2.
If a lock on the SIM fixed dialing memory is active, the following applies:
Outgoing voice, data or fax calls can be made only to numbers stored in “FD” phonebook.
Result code depends on the type of the call:
for voice calls, indication is “+CME Error 257: Call barred”.
for data and fax calls, indication is “NO CARRIER”.
Access to defined Supplementary Services such as Call barring, Call waiting, Call
forwarding, Call hold and Multiparty is possible only if the exact corresponding public MMI
*# code for the desired service is stored in the fixed dialing number phone book and used
with ATD.
AT commands for supplementary service control are barred while “FD” lock is active.
Indication is “+CME Error 257: Call barred”.
Access to Unstructured Supplementary Services (‘USSD) is possible only if the exact
desired USSD string is stored in the fixed dialing number phone book and used with ATD.
AT commands for USSD are barred while “FD” lock is active.
Indication is “+CME Error 257: Call barred”.
SMS can be sent only to phone numbers which are stored in the “fixed dialing numbers”
phonebook “FD”. Also, a valid Service Center Address (international format) must be
present in “FD” to allow sending SMS at all.
Indication is “+CMS Error 302: operation not allowed”.
GPRS commands can be used only if the “fixed dialing numbers” phonebook “FD”
contains an entry with phone number “*99#”. This single entry enables all GPRS
commands, including AT commands and modem compatibility commands like
“ATD*99***1#” or “ATD*98***1#”.
Indication is “+CME Error 257: Call barred”.