20
6195-2201
Supplementary Services commands
+CLCK – Call barring
This command allows control of the call barring supplementary service.
Locking, unlocking or querying the status of a call barring is possible for
all or a specific class.
Command Syntax:
AT+CLCK= <fac>, <mode> [, <password> [, <class> ] ]
Response Syntax:
(for <mode>=2 and command successful)
+CLCK: <status> [, <class1> [<CR><LF>+CLCK: <status>, <class2>, [...] ]
* <fac>:
”AO”, ”OI”, ”OX”
for outgoing calls barring
”AI”, ”IR”
for incoming calls barring
”AG”, ”AC”, ”AB”
for all calls barring (<mode>=0 only)
* <mode>
0
unlocks the facility
1
locks the facility
2
query status
* <class>:see description for +CLCK command (Call Barring)
The combination of different classes in not supported, it will only result in the activation
/ deactivation / status request of all classes (7).
Password code must be on 4 digits maximum.
Application to GSM
AT+CLCK=”AO”,1,1234
GSM to application
OK
Command valid
Application to GSM
AT+CLCK=”AO”,0,5555
GSM to application
+CME ERROR: 16
Wrong password
Application to GSM
AT+CLCK=”AO”,0,1234
GSM to application
OK
Command valid
+CPWD – Modify SS password
This command shall be used by the application to change the supplementary service pass-
word. The command to manage this functionality is:
Command Syntax:
AT+CPWD=<fac>,<OldPassword>, <NewPassword>
for <fac> see +CLCK command with only ”P2” facility added (SIM PIN2).
Application to GSM
AT+CPWD=”AO”,1234,5555
Change Call Barring
password
Содержание GS-01
Страница 55: ......