Advice Of Charge +Caoc; Accumulated Call Meter +Cacm - Multitech MMCModem GPRS (MTMMC-G) Reference Manual

Wireless gsm/gprs modems at commands reference guide
Table of Contents

Advertisement

Advice of Charge +CAOC

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 <mode>=0, the command returns the current call
meter value (CCM) from the modem (ME).
If AOC is supported, the command can also enable unsolicited event reporting on CCM information.
The unsolicited result code +CCCM: <ccm> 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.
Values:
<mode>
<ccm>
Syntax:
Command syntax: AT+CAOC= <mode>
Command
AT+CAOC=0
Note: Query CCM value
AT+CAOC=1
Note: Deactivate unsolicited report of CCM value
AT+CAOC=2
Note: Activate unsolicited report of CCM value
AT+CAOC ?
Note: Request mode
AT+CAOC=?
Note: Request supported modes

Accumulated Call Meter +CACM

Description:
This command resets the Advice of Charge for accumulated call meter value in SIM file EF
ACM contains the total number of home units for both the current and preceding calls. SIM PIN2 is
required to reset the value. If setting fails in an ME error, +CME ERROR: <err> is returned.
The Read command returns the current value of the ACM.
The ACM value (entered or displayed) is in hexadecimal format with 6 digits.
Values:
<pin2 passwd> string type
<acm value> string type coded as <ccm> under +CAOC
Syntax:
Command Syntax: AT+CACM=<pin2 passwd>
Possible Response: +CACM: <acm value>
Command
AT+CACM?
Note: Request ACM value
AT+CACM= 1234
Note: Request ACM reset, real PIN2 is "1234"
AT+CACM= 0000
Note: Request ACM reset with wrong PIN2 value
AT+CACM ?
Note: Request ACM value
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)
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
Chapter 10 – Supplementary Services Commands
Possible responses
+CAOC: "000A08"
OK
Note: Display Current Call Meter value (CCM=2568)
OK
Note: CCM report deactivated
OK
Note: CCM report activated
+CAOC:<mode>
OK
Note: Display unsolicited report mode (1 or 2)
+CAOC: (0-2)
OK
Note: 0,1,2 modes supported
Possible responses
+CACM: "000400"
OK
Note: Display ACM value (ACM=1024)
OK
Note: ACM value is reset
+CME ERROR: 16
Note: Incorrect password
+CACM: "000000"
OK
Note: Display ACM value (ACM = 0)
. The
ACM
85

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents