beautypg.com

Westermo GD-01 User Manual

Page 83

background image

83

6196-2220

+CAOC – Advice of charge

Description:

This refers to the Advice of Charge supplementary service (GSM 02.24 and GSM 02.86)
which enables the subscriber to obtain information on call cost.With =0, the
command returns the current call meter value (CCM) from the ME. If AOC is supported,
the command can also enable unsolicited event reporting on CCM information.
The unsolicited result code +CCCM: is sent when the CCM value changes.
Deactivation of unsolicited event reporting is performed with the same command.
If AOC is supported, the Read command indicates whether unsolicited reporting is
activated or not.

Syntax:

AT+CAOC=

Command example

Possible responses

Note

AT+CAOC=0

+CAOC: “000A08”

Query CCM value, result:

OK

display Current
Call Meter value
(CCM=2568)

AT+CAOC=1 OK

Deactivate

unsolicited

report of CCM value

AT+CAOC=2 OK

Activate

unsolicited

report of CCM value

AT+CAOC ?

+CAOC :

Request mode result:

OK

display unsolicited
report mode (1 or 2)

AT+CAOC=? +CAOC: (0-2)

Request

supported

OK

modes, result: 0,1,2
modes supported

Defined values:

0:

query CCM value

1:

deactivate the unsolicited reporting of CCM value

2:

activate the unsolicited reporting of CCM value

string type; three bytes of the current call meter value in hexadecimal format (e.g.
“00001E” corresponds to the decimal value 30); value is in home units and bytes are
coded in a similar way as the ACMmax value in SIM.

B A C K