Specifications
Chapter 5 – Security Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 79
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.
Syntax: Test Command: AT+CLCK=?
Responses: +CLCK:list of supported <facility>s
OK
Write Command: 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
ERROR
+CME ERROR: <err>
Parameters:
<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 dialed. (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 and data calls can be made only to numbers stored in “FD”
phonebook.
Result for voice and data calls to numbers not stored in the "FD" phonebook
is “+CME Error 257: Call barred”.
• Access to defined Supplementary Services such as Call barring, Call
waiting, Call forwarding, Call hold and Multiparty is possible only if the exact
corresponding dialing numbers of the public MMI *# code (followed by the
dialing number) for the desired service is stored in the "FD" phonebook and
used with ATD. Using Supplementary Services ATD*#code without dialing
number is possible.
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 "FD" phonebook 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”.