Chapter 7 - SIM Card Operational Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C 53
Facility Lock +CLCK
Description: This command is used by the application to lock, unlock or interrogate an ME or network
facility <fac>. The call barring facilities “A0” and “AI” require that a password value be
included in the command even though passwords are not currently enforced for these
facilities. The “SC” and “FD” facilities are available only in builds, which include UIM support.
This command is also used for the control of the call barring supplementary service.
Functions for the barring of data and voice calls is provided as well as querying the status of
call barring. Note that emergency voice calls cannot be barred.
Values: The following <fac> values are supported:
“SC”: SIM PIN enabled (<mode> = 1) / disabled (<mode> = 0)
“FD”: SIM FDN feature enabled (<mode> = 1) / disabled (<mode> = 0)
“AO”: BAOC; Barr Outgoing Calls
“AI”: BAIC; Barr Incoming Calls
<mode>
0: Unlock the facility (<passwd> required)
1: Lock the facility (<passwd> required)
2: Query status
<passwd>
Use PIN1 for the “SC” facility
Use PIN2 for the “FD” facility
Use any four digit value for the “AO” and “AI” facilities
Syntax: (for Facility Lock):
Command syntax: AT+CLCK= <fac>,<mode>[,<passwd>]
Response syntax: +CLCK: <status>
Command Possible Responses
AT+CLCK=”SC”,1,1234
Note: Enable SIM PIN
OK
Note: SIM PIN enabled
AT+CLCK?
Note: Get current facility lock status
+CLCK:(“SC”,1),(“FD”,0),(“AO”,1),(“AI”,1)
OK
Note: SIM PIN is enabled, SIM FDN feature is disabled,
Outgoing call barring is enabled, Incoming call barring is
enabled
AT+CLCK=”SC”,0,5555
Note: Disable SIM PIN
+CME ERROR: 16
Note: Incorrect password used
AT+CLCK=”AO”,1,1234
Note: Bar Outgoing Calls
OK
Note: Outgoing calls are barred
AT+CLCK=”AI”,1,1234
Note: Bar Incoming Calls
OK
Note: Incoming calls are barred
AT+CLCK=”AO”,2
Note: Query outgoing call barring status
+CLCK: 1
OK
Note: Outgoing calls are barred