8 commands for battery charger, 1 battery charge - +cbc – Rainbow Electronics GM862-QUAD-PY User Manual

Page 166

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 166 of 434

+CGDATA - Enter Data State

SELINT 2

Example

AT+CGDATA=?
+CGDATA: (”PPP”)


OK
AT+CGDATA=”PPP”,1

OK

Reference GSM

07.07


3.5.4.8 Commands For Battery Charger

3.5.4.8.1 Battery Charge - +CBC

+CBC - Battery Charge

SELINT 0 / 1

AT+CBC

Execution command returns the current Battery Charge status in the format:

+CBC: <bcs>,<bcl>

where:
<bcs> - battery charge status
0 - ME is powered by the battery
1 - ME has a battery connected, and charger pin is being powered
2 - ME does not have a battery connected
3 - Recognized power fault, calls inhibited
<bcl> - battery charge level
0 - battery is exhausted, or ME does not have a battery connected
25 - battery charge remained is estimated to be 25%
50 - battery charge remained is estimated to be 50%
75 - battery charge remained is estimated to be 75%
100 - battery is fully charged.

Note: <bcs>=1 indicates that the battery charger supply is inserted and the
battery is being recharged if necessary with it. Supply for ME operations is
taken anyway from VBATT pins.

Note: without battery/power connected on VBATT pins or during a power
fault the unit is not working, therefore values <bcs>=2 and <bcs>=3 will
never appear.

AT+CBC?

Read command has the same effect as Execution command.

AT+CBC=?

Test command returns parameter values supported as a compound value.
For compatibility with previous versions, Test command returns

+CBC: (0-2),(0-100)

An enhanced version of Test command has been defined: AT+CBC=??,
that provides the complete range of values for <bcs> and <bcl>.

Advertising