Specifications
UC864-E/G AT Commands Reference Guide
80304ST10041a Rev. 3 - 18/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 220 of 259
3.5.7.4.17 GPRS Data Volume - #GDATAVOL
#GDATAVOL - GPRS Data Volume
AT#GDATAVOL=
[<mode>]
Execution command reports, for every active PDP context, the amount of
data the last GPRS session received and transmitted, or it will report the
total amount of data received and transmitted during all past GPRS
sessions, since last reset.
Parameter:
<mode>
0 - it resets the GPRS data counter for the all the available PDP contexts
(1-16)
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), in the format:
#GDATAVOL: <cidn>,<totn>,<sentn>,<receivedn>[<CR><LF>
#GDATAVOL: <cidm>,<totm>,<sentm>,<receivedm>[…]]
where:
<cidn> - PDP context identifier
1..16 - numeric parameter which specifies a particular PDP context
definition
<totn> - number of bytes either received or transmitted in the last GPRS
session for <cidn> PDP context;
<sentn> - number of bytes transmitted in the last GPRS session for
<cidn> PDP context;
<receivedn> - number of bytes received in the last GPRS 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), in the format:
#GDATAVOL: <cidn>,<totn>,<sentn>,<receivedn>[<CR><LF>
#GDATAVOL: <cidm>,<totm>,<sentm>,<receivedm>[…]]
where:
<cidn> - PDP context identifier
1..16 - numeric parameter which specifies a particular PDP context
definition
<totn> - number of bytes either received or transmitted, in every GPRS
session since last reset, for <cidn> PDP context;
<sentn> - number of bytes transmitted, in every GPRS session since
last reset, for <cidn> PDP context;
<receivedn> - number of bytes received, in every GPRS session since
last reset, for <cidn> PDP context;
Note: last GPRS session counters are not saved in NVM so they are loosen
at power off.