User guide
ENHANCED IP STACK AT COMMANDS
149 AT Commands for EV-DO-EV3 Modems
Notes
For outgoing connections made with #SD the remote host is dynamically inserted into the ACCEPT chain for
the entire connection duration. Therefore the #FRWL command is used only for defining the #SL behavior,
deciding which hosts are allowed to connect to the local device.
Rules are not saved in non-volatile memory. At startup the rules list is empty.
Issue this command before establishing a data connection using the AT#SGACT command.
Example
To accept connections only from devices that are on the IP addresses ranging from 197.158.1.1 to
197.158.255.255, add the following chain to the firewall:
AT#FRWL=1,"197.158.1.1","255.255.0.0"
OK
Data Volume #GDATAVOL
Execution command reports, for the active PDP context, the amount of data received and transmitted by the last
data session or the total amount of data received and transmitted during the data session, since last reset.
Test command returns the range of supported values for parameter <mode>.
Syntax
Command Command type
AT#GDATAVOL=[<mode>] Execute
AT#GDATAVOL=? Test
Parameters and Values
<mode>
0 Resets the data counter for the all the available PDP contexts (1).
1 Reports the last data session counter for the set PDP contexts, in the format:
#GDATAVOL: <cid>,<tot>,<sent>,<received>
where:
<cid> - PDP context identifier.
<tot> - Number of bytes either received or transmitted in the last data session.
<sent> - Number of bytes transmitted in the last data.
<received> - Number of bytes received in the last data session.
2 Reports the total data counter, since last reset, for the all the set PDP contexts, in
the format:
#GDATAVOL: <cid>,<tot>,<sent>,<received>
where:
<cid> - PDP context identifier.
<tot> - Number of bytes either received or transmitted, in every data session
since last reset.
<sent> - Number of bytes transmitted, in every data session since last reset.
<receivedn> - Number of bytes received, in every data session since last reset.










