Motorola g20 Developer's Manual page 103

At commands
Hide thumbs Also See for g20:
Table of Contents

Advertisement

4.3.4.3
+CAOC, Advice of Charge
This command enables the subscriber to get information about the cost of calls. If supported, this command also
activates/deactivates unsolicited event reporting of the CCM (Current Call Meter) information.
The unsolicited report +CCCM:<ccm> is sent when the CCM value changes, but not more than once every 10 seconds.
The CCM value depends on the network properties (charge for MO or/and MT calls). There are no +CCCM
unsolicited reports after power-cycle automatically, it should be activated.
There are two states in which the command can be activated:
Note
• In IDLE state - returns the last call cost.
• In a voice/data state - returns the accumulated cost, including the current call.
Set Command
The Set command returns the CCM value from the g20, or activates/deactivates unsolicited reports.
Command
+CAOC=<mode>
Read Command
The Read command returns the current CAOC mode.
Command
+CAOC?
+CAOC
Test Command
The Test command returns the supported mode values.
Command
+CAOC=?
98-08901C68-O
Response/Action
OK
or:
[+CAOC:<ccm>]
or:
+CME ERROR:<err>
Response/Action
+CAOC: <mode>
OK
OK
or:
[+CAOC: <ccm>]
or:
+CME ERROR: <err>
Response/Action
+CAOC: (0,1,2) (list of supported <mode>s
OK
AT Commands Reference
89

Advertisement

Table of Contents
loading

Table of Contents