Multi-Tech Systems GPRS (MTSMC-G) Network Router User Manual


 
Chapter 7 – Security Commands
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 43
Facility Lock +CLCK
Description: This command locks, unlocks or interrogates an ME or network facility <fac>.
Note: Test SIM cards (with MCC=001 & MNC=01) do not check “PS”, “PN”, “PU”, “PP” and “PC” locks.
Values: <fac> supported facilities:
“PS”: SIM lock facility with an 8-digit password.
“SC“: PIN enabled (<mode> = 1) / disabled (<mode> = 0)
“AO”: BAOC (Barr All Outgoing Calls)
“OI”: BOIC (Barr Outgoing International Calls)
“OX”: BOIC-exHC (Barr Outgoing. International Calls except to Home Country)
“AI”: BAIC (Barr All Incoming Calls)
“IR”: BIC-Roam (Barr Inc. When Roaming outside Home Country)
“AB”: All Barring services
“AG”: All outGoing barring services
“AC”: All inComing barring services
“PN”: Network lock with an 8-digit password (NCK).
“PU”: Network Subset lock with an 8-digit password (NSCK).
“PP”: Service Provider lock with an 8-digit password (SPCK).
“PC”: Corporate lock with an 8-digit password (CCK).
“FD”: SIM Fixed Dialing Numbers (FDN) memory feature (PIN2 is required as <password>)
<mode>
0 unlock the facility
1 lock the facility
2 query status
<class> A facility status can be changed for only one class, or for all classes (7 or omitted).
1 Voice (telephony)
2 Data (apply to all bearer services)
4 Fax (facsimile services)
8 Short Message service
7 Equal to all classes (Default value)
Any attempt to combine different classes will result in activation / deactivation / interrogation of Voice
and Data.
If <class> is omitted, the default value 7 will be used.
Password maximum length is given with the AT+CPWD=? Command.
Note: It will not possible to lock the FDN phonebook if this one is not loaded.
Syntax: Command syntax: AT+CLCK= <fac>,<mode>[,<passwd>[,<class>] ]
Response syntax: +CLCK: <status> [ ,<class1> ]<CR><LF>+CLCK: <status>,<class2> [ … ] ]
Command Possible responses
AT+CLCK=”SC”,1,1234
Note: Enable PIN
OK
Note: PIN was correct
AT+CLCK?
Note: Read PIN status
+CLCK:(“PS”,0),(“SC”,0),(“FD”,0),(“PN“,0),(“PU“,0),(“PP“,0),(“PC“,0)
OK
Note: PIN is enabled, no SIM lock, no network lock, no information
on Call barring (no longer supported in GSM Technical
Specification 07.07)
AT+CLCK=”SC”,0,5555
Note: Disable PIN
+CME ERROR: 16
Note: PIN was wrong
AT+CPIN=1234
Note: Enter PIN
OK
Note: PIN was good
AT+CLCK=?
Note: Request supported
facilities
+CLCK: (“PS”,”SC”,”AO”,”OI”,”OX”,”AI”,”IR”,”AB”,”AC”,
”FD”,"PN","PU","PP",”PN”)
OK Note: Supported facilities
AT+CLCK=”PN”,1,12345678
Note: Activate network lock
OK
Network lock activated
AR+CLCK=”AO”,1,1234,2
Note: Activate all outgoing calls
except data calls
OK
Note: Call barring is activate
AT+CLCK=”AO”,2
Note: Query BAOC status
+CLCK: 1,2
OK Note: BAOC activate for data calls only
AT+CLCK=”SC”,0,0000
Note: Disable PIN
+CME ERROR: 521
Note: PIN deactivation is forbidden with this SIM card