Rainbow Electronics GM862-QUAD-PY User Manual

Page 361

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 361 of 434

#GDATAVOL - GPRS Data Volume

SELINT 2

AT#GDATAVOL=
[<mode>]

Execution command reports, for every active PDP context, the amount of
data the last GPRS session (and the last GSM session, if GSM context is
active) received and transmitted, or it will report the total amount of data
received and transmitted during all past GPRS (and GSM) sessions, since
last reset.

Parameter:
<mode>
0 - it resets the GPRS data counter for the all the available PDP contexts

(1-5) and GSM data counter for GSM context 0

1 - it reports the last GPRS session data counter for the all the set PDP

contexts (i.e. all the PDP contexts with APN parameter set using
+CGDCONT) (and the last GSM session data counter for the GSM
context, if set through #GSMCONT), in the format:

#GDATAVOL: <cidn>,<totn>,<sentn>,<receivedn>[<CR><LF>
#GDATAVOL: <cidm
>,<totm>,<sentm>,<receivedm>[…]]

where:
<cidn> - PDP context identifier
0 - specifies the GSM context
1..5 - numeric parameter which specifies a particular PDP context

definition

<totn> - number of bytes either received or transmitted in the last GPRS

(or GSM) session for <cidn> PDP context;

<sentn> - number of bytes transmitted in the last GPRS (or GSM)

session for <cidn> PDP context;

<receivedn> - number of bytes received in the last GPRS (or GSM)

session for <cidn> PDP context;

2 - it reports the total GPRS data counter, since last reset, for the all the

set PDP contexts (i.e. all the PDP context with APN parameter set using
+CGDCONT) and the total GSM data counter for the GSM context, if set
through #GSMCONT, in the format:

#GDATAVOL: <cidn>,<totn>,<sentn>,<receivedn>[<CR><LF>
#GDATAVOL: <cidm
>,<totm>,<sentm>,<receivedm>[…]]

where:
<cidn> - PDP context identifier
0 - specifies the GSM context
1..5 - numeric parameter which specifies a particular PDP context

definition

<totn> - number of bytes either received or transmitted, in every GPRS

(or GSM) session since last reset, for <cidn> PDP context;

<sentn> - number of bytes transmitted, in every GPRS (or GSM)

session since last reset, for <cidn> PDP context;

<receivedn> - number of bytes received, in every GPRS (or GSM)

Advertising