Notes, Examples, Gprs data volume #gdatavol – Synaccess Networks NP-0801DTM User Manual
Page 260: Syntax, Parameters and values

ENHANCED IP STACK EXTENSION AT
COMMANDS
HSPA+ AT Commands Reference Guide
260
2
Remove all chains (DROP everything);
in this case.
String type, remote address to be added into the ACCEPT chain. Can be any valid
IP address in the format: xxx.xxx.xxx.xxx.
String type, mask to be applied on the
mask in the format: xxx.xxx.xxx.xxx.
Command returns OK result code if successful.
Note: The firewall applies for incoming (listening) connections only.
Firewall general policy is DROP, therefore all packets that are not included into an
ACCEPT chain rule is silently discarded.
When a packet comes from the IP address incoming_IP, the firewall chain rules
are scanned for matching with the following criteria:
incoming_IP &
If criteria is matched, then the packet is accepted and the rule scan is finished. If
criteria is not matched for any chain the packet is silently dropped.
Notes
For outgoing connections made with #SKTD 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 #SKTL 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.
You must issue this command before establishing a data connection using the AT#SGACT command.
Examples
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
GPRS Data Volume #GDATAVOL
Execute 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 reports the total amount of data received
and transmitted during all past GPRS (and GSM) sessions, since last reset.
Test command returns the range of supported values for parameter
Syntax
Command
Command type
AT#GDATAVOL=[
Execute
AT#GDATAVOL=?
Test
Parameters and Values
0
Resets the GPRS data counter for the all the available PDP contexts (1‐5) and GSM
data counter for GSM context 0.
1
Reports the last GPRS session data counter for the all the set PDP contexts—that
is, all the PDP contexts with APN parameter set using +CGDCONT.
Also reports the last GSM session data counter for the GSM context, if set