Moxa Technologies G2150I Carrying Case User Manual


 
OnCell G2150I AT Command Set Security Commands
6-5
Facility Lock: +CLCK
Description: This command is used by the application to lock, unlock, or interrogate 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.
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+CLC K?
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 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+CLC K=?
Note: Request supported facilities
+CLCK:
(“PS”,”SC”,”AO”,”OI”,”OX”,”AI”,”IR”,”AB”,”A
C”,”FD”,”PN”,”PU”,”PP”,”PC”)
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 barring
data calls
OK
Note: Call barring is activated
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
Defined 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