Facility lock +clck – Multi-Tech Systems CDMA Wireless Modem User Manual

Page 189

Advertising
background image

Chapter 23 - Sprint® Specific AT Commands

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

189

Facility Lock +CLCK

Description: This command is used by the application to lock, unlock, or interrogate an ME or network

facility <fac>. When changing a lock state, a password value must be included in the
command even though passwords are not currently enforced for these facilities. Any 4 digit
sequence can be entered for the password value.

This command is also used to allow control of the call barring supplementary service.
Barring calls or querying the status of call barring is possible for Data and Voice Calls,
except Emergency Voice Calls.


Values:

The following <fac> and <mode> values are supported:
“AO”: BAOC (Barr Outgoing Calls)
<mode>

0: Allow all outgoing calls
1: Allow outgoing calls only for phonebook entries (use ATD> command) and
emergency voice calls
2: Allow emergency voice calls only
9: Query status

“AI”: BAIC (Barr Incoming Calls)

<mode>

0: Allow all incoming calls
1: Allow incoming calls only for phonebook entries (match number in phonebook) and
emergency voice calls
2: Allow emergency voice calls only
9: Query status

Note: Setting this facility to 0 will force the “AO” facility to 0.
“PB”: BAMC (Barr Outgoing Phonebook Match Calls)

<mode>

0: Allow all outgoing calls
1: Allow outgoing calls only for phonebook entries
9: Query status

Note: Setting this facility to 0 will force the “AO” facility to 0.
“DT”: BADC (Barr Data Calls)

<mode>

0: Allow data calls
1: Barr data calls
9: Query status

<passwd>

Use any four digit value. (e.g. 1234)

Syntax (for Facility Lock):

Command syntax: AT+CLCK= <fac>,<mode>[,<passwd>]
Response syntax: +CLCK: <status>

Command

Possible Responses

AT+CLCK?
Note: Get facility lock status

+CLCK:(“AO”,1),(“AI”,1),(“PB”,1),(“DT”,1)
OK
Note: Outgoing call barring is enabled, Incoming call barring is
enabled, match string from phonebook is enabled, Data calls are
not allowed

AT+CLCK=”AO”,1,1234
Note: Bar Outgoing Calls

OK
Note: Outgoing calls are barred

AT+CLCK=”AI”,1,1234
Note: Bar Incoming Calls

OK
Note: Incoming calls are barred

AT+CLCK=”AO”,9
Note: Query outgoing call
barring status

+CLCK: 1
OK
Note: Outgoing calls are barred

Advertising