Wavecom GSM Modem
This confidential document is the property of WAVECOM and may not be copied or circulated without permission
25
4.10. Facility lock +CLCK
This command shall be used by the application to change a facility
status.
The "SC" facility means SIM PIN facility.
The "PS" facility is used for SIM lock facility with a 8 digits password.
The "WNL" facility is used for network lock with a 8 digits password
(NCK).
"1" locks the facility, "0" unlocks the facility. The password length is given
with the AT+CPWD= ? command.
Application to GSM
AT+CLCK?
Read PIN status
GSM to application
+CLCK: ("SC", 0)
OK
PIN is disabled
Application to GSM
AT+CLCK="SC",1,1234
enable PIN
GSM to application
OK
PIN iwas good
Application to GSM
AT+CLCK?
Read PIN status
GSM to application
+CLCK: ("PS", 0), ("SC", 1), ("AO", 0),
("OI", 0), ("OX", 0), ("AI", 0), ("IR", 0),
("AB", 0), ("AG", 0), ("AC", 0),
("WNL", 0)
OK
PIN is enabled, all other
facilities are disabled
Application to GSM
AT+CLCK="SC",0,5555
disable PIN
GSM to application
+CME ERROR: 16
PIN was wrong
Application to GSM
AT+CPIN=1234
Enter PIN
GSM to application
OK
PIN was good
Application to GSM
AT+CLCK= ?
request supported facilities
GSM to application
+CLCK : ("PS","SC","AO","OI", "OX",
"AI", "IR","AB", "AG","AC", "WNL")
OK
supported facilities
Application to GSM
AT+CLCK="WNL",1,12345678
Activate network lock
GSM to application
OK
Network lock activated