OnCell G2150I AT Command Set

Security Commands

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

OK

Note: Enable PIN

Note: PIN was correct

AT+CLCK?

+CLCK:(“PS”,0),(“SC”,0),(“FD”,0),(“PN”,0),(“PU

Note: Read PIN status

”,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

+CME ERROR: 16

Note: Disable PIN

Note: PIN was wrong

AT+CPIN=1234

OK

Note: Enter PIN

Note: PIN was good

AT+CLCK=?

+CLCK:

Note: Request supported facilities

(“PS”,”SC”,”AO”,”OI”,”OX”,”AI”,”IR”,”AB”,”A

 

C”,”FD”,”PN”,”PU”,”PP”,”PC”)

 

OK

 

Note: Supported facilities

AT+CLCK=“PN”,1,12345678

OK

Note: Activate network lock

Network lock activated

AR+CLCK=“AO”,1,1234,2

OK

Note: Activate all outgoing calls barring

Note: Call barring is activated

data calls

 

AT+CLCK=“AO”,2

+CLCK: 1,2

Note: Query BAOC status

OK

 

Note: BAOC activate for data calls only

AT+CLCK=“SC”,0,0000

+CME ERROR: 521

Note: Disable PIN

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

6-5

Page 51
Image 51
Moxa Technologies G2150I Facility Lock +CLCK, Lock, no information on Call barring, No longer supported in GSM, Data calls