At+clck=oi,<en>,<pwd><cr – Rainbow Electronics GM862-GPS User Manual

Page 50

Advertising
background image





GM862-GPS Software User Guide

1vv0300729 Rev. 5 - 05/07/07

Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved

page 50 of 120

3.2.4.5 Barring/Unbarring All Outgoing International Calls

Send command

AT+CLCK=OI,<en>,<pwd><cr>


where:
<en> is the operation selected:

0 – Call Barring Disable (Unbarring)
1 – Call Barring Enable (Barring)

<pwd> is the network password required to change facility status

wait for response:

Response

Reason

Action

OK

Barring is now enabled/disabled all outgoing international calls

will be barred/unbarred

ERROR

some error occurred

Enable the extended error
codes report (see par.2.5.2.1)
and retry.

+CME ERROR: 4

operation not supported, the
service required is not available

Check command syntax

+CME ERROR: 30

no network service

Check for registration (see par.
2.5.3.1) and signal strength.

+CME ERROR: 16

wrong network password

check network password and
retry

For example:
1- Let's assume you want to bar all the outgoing international calls (originated by mobile and to a
number outside the home country of the mobile) and the network password of your operator is 1234:
command:
AT+CLCK=OI,1,1234<cr>
response:
OK

Advertising