Chapter 3: AT Commands Reference
June 30, 2008 AT Commands Reference Manual 3-425
+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 Syntax Response/Action Remarks
Set AT+M IPCF F=
<SocketID>,<CmdType>[,"<
IP CIDR>"]
OK
or:
+CME ERROR: <err>
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.
Read AT+MIPCFF? +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>
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").
Test AT+MIPCFF =? +MIPCFF: (1-4),(0-4),("<IP
CIDR>")
OK
or:
+CME ERROR: <err>
The command
returns the range
of <SocketID>'s,
the list of
supported
<CmdType>'s and
string "<IP
CIDR>".