Mipcff, Control Filtering Feature For Incoming Tcp Connection - Motorola G24 Guide Developer's Manual

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

+MIPCFF, Control Filtering Feature for Incoming TCP Connection

This AT command is used to control filtering feature. Filtering feature adds the ability to accept
IP connections only if the IP belongs to a defined IP white list to the embedded TCP/IP feature.
This feature affects only TCP socket type connections.
Command Type
Set
Read
Test
December 31, 2007
Syntax
AT+MIPCFF=
<SocketID>,<CmdType>[,"<
IP CIDR>"]
AT+MIPCFF?
AT+MIPCFF =?
AT Commands Reference Manual
Chapter 3: AT Commands Reference
Response/Action
OK
or:
+CME ERROR: <err>
+MIPCFF:
1,<Status>,<IP1.1>,<IP1.2>...<I
P1.n>
+MIPCFF:
2,<Status>,<IP2.1>,<IP2.2>...<I
P2.n>
+MIPCFF:
3,<Status>,<IP3.1>,<IP3.2>...<I
P3.n>
+MIPCFF:
4,<Status>,<IP4.1>,<IP4.2>...<I
P4.n>
OK
or:
+CME ERROR: <err>
+MIPCFF: (1-4),(0-4),("<IP
CIDR>")
OK
or:
+CME ERROR: <err>
Remarks
The set command
defines the IP
white list and
controls the
feature behavior
(enable or
disable).
If <CmdType> is
0, 1 or 4, then <IP
CIDR> parameter
is not allowed.
If <IP CIDR>
parameter will be
present in that
case, the error
message will be
returned to DTE.
If <CmdType> is 2
(add IP to white
list) or 3 (remove
IP from white list),
the <IP CIDR>
parameter is
mandatory.
For each socket
the command
returns the current
filtering feature
state (enabled,
disabled or not
applicable) and a
list of IP addresses
(in CIDR notation)
in socket filtering
white list.
In case the
connection is set
for "client"
functionality
(socket initiates
the connection)
the filtering status
is 2 ("not
applicable").
The command
returns the range
of <SocketID>'s,
the list of
supported
<CmdType>'s and
string "<IP
CIDR>".
3-417

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents