beautypg.com

Westermo GS-01 User Manual

Page 18

background image

18

6195-2201

+CLCK – Facility lock

This command shall be used by the application to lock, unlock or interrogate a ME
or network facility .

Command syntax: AT+CLCK= ,[,[,] ]

Response syntax: +CLCK: [ , ]

+CLCK: ,
[ … ] ]

Command

Possible responses

AT+CLCK=”SC”,1,1234

OK

Note: Enable PIN

Note: PIN was right

AT+CLCK?

+CLCK: (”PS”, 0), (”PN,0),(”FD”,0)

Note: Read PIN status

OK
Note: PIN is enables, no SIM lock, no network lock, no
informati_n 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:(”PS”,”SC”,”AO”,”OI”,”OX”,”AI”,”IR”,”AB”,

Note: Request supported

OK

facilities

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

Note: Call barring is activate

calls barring for data calls

AT+CLCK=”AO”,2

+CLCK: 1,2

Note: Query BAOC status

OK
Note: BAOC activate for data calls only